Hey Everyone. Is there a tool which can help in se...
# random
d
Hey Everyone. Is there a tool which can help in separating translations into different namespaces? It's right now a lot of manual work as we have 3k+ translations. PS - For Next.js.
d
I don't know of any tools but a CMS I used to work on just wrapped all text in a function. That functions would display the appropriate language (based on the url eg: en-in etc.), if the translation was available otherwise default to using English. All translations were kept in separate files and the CMS atleast didn't break if a translation was missing.