claudetech / node-static-i18n

HTML static pages i18n tool
https://www.npmjs.com/package/static-i18n
MIT License
102 stars 21 forks source link

Namespaces and folder structure #51

Open shakepod opened 2 years ago

shakepod commented 2 years ago

Hi,

Is it possible to define namespaces and have a folderstructure like this in my project?

locales/
+-- en/ +-- index/en.json +-- news/en.json

+-- de/ | | | +-- index/de.json | +-- news/de.json

of without folders in the locales root something like this:

locales\ de_index.json de_news.json

en_index.json en_news.json

greetings