Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meteor js localization

I got a meteor app and I want to support multiple languages. How to support multy language app with meteor js? Is there a recommended pattern, couldn't find stuff in documentation

like image 864
Chen Kinnrot Avatar asked May 10 '13 08:05

Chen Kinnrot


1 Answers

Meteor suggest you don't write your own packages at the moment and their appears not to be a bundled l10n package as part of the project.

Two projects worth looking at for server side patterns in Node are i18n-node and node-polyglot.

Both these projects use simple JSON structures loaded from locale directories and both create new translation keys when you first use them. If you need to create a JSON language pack from an existing source, you could use my PO->JSON converter.

UPDATE: I just found this Meteor wrapper for i18next

like image 102
Tim Avatar answered Sep 30 '22 00:09

Tim