Gottwik / Enduro

Minimalistic, lean & mean, node.js cms
http://www.endurojs.com/
MIT License
690 stars 121 forks source link

Better way to manage translations? #255

Open komocode opened 6 years ago

komocode commented 6 years ago

Is there a way to grab translations from a file? I'm thinking of converting a website for a client to use Enduro since they're requesting CMS-like features. Problem is that our translation file for English is about 700 keys long x 26 languages. Manually copying and pasting 18k lines sounds really bad.

Example: I'm thinking something like in a title text field would be: {{ homepage.title }}, then all languages will grab homepage.title from a (language).json file.

Ezra-Siton-UIX commented 6 years ago

It's sound like mega-mega IDEA. Even in WordPress, you have a problem with 26 languages. Maybe try somehow to combine Mongo.DB with enduro (Anyway its a lot of copy-paste to create the structure).-or- use mega CMS (like WP with mega-plugin like https://wpml.org/

Not an official answer - but all the fun in Enduro is light (To create an auto generator translator for 26 languages - sound like a huge project).