Question

I want to deploy 2 meteor sites with different languages. The idea is not that the user have the possibility to change the languages, but that the sites are in different languages. What would be my options?

I don't really need to save it on the database, so I'm looking for something faster and lighter.

Thanks!

Was it helpful?

Solution

i18n support can easly be added though the atmosphere package manager: i can suggest the package here: https://atmospherejs.com/package/i18n

if that doesnt suit your needs, there are others: https://atmospherejs.com/?q=i18n

to install atmosphere packages you need meteorite: https://atmospherejs.com/docs/installing

OTHER TIPS

For me, the easiest solution at the time being is to use the just-i18n package.

If you need help, I wrote a little gist on how to use it properly. I also added a feature to set the default language for a user according to his browser locale.

I guess you may install the globalization plugin of cordova by typing the following line:

meteor add cordova:cordova-plugin-globalization@1.0.2

I have found a blog post on meteor globalization but for the deployment to different currencies: http://blog.sanuker.com/?p=554 Hope it helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top