Answer the question
In order to leave comments, you need to log in
How to implement multilingual content on the site?
We have a site on node.js, express, mongodb and angular.js.
It is necessary to translate both interface elements and content from the database - fields filled in by users, values, and so on. Moreover, the translation must be separated - when the button is pressed, only the content from the database changes, but not the translation of the interface elements.
It's clear what to do with interface elements - you can put, for example, ng-abide or angular-translate , make po-templates and display " {{"SINGLEITEM" }}
And what to do with dynamic content? Save in the database { name_ru : "single", name_en: "single" } ? It seems like it's not very good. To make a file with a translation to all possible values, say, of the options fields - somehow it’s also not feng shui. What are the options? Thank you
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question