-
Notifications
You must be signed in to change notification settings - Fork 5
support simple {msgid: msg} json format #254
Comments
Hi Skivvies, We just added support for this file format today. Thanks for your patience! Nico |
Thanks so much, @nsallembien! Having trouble getting it to work though. What value should I use for |
We've actually stopped maintaining the community edition (there was a post from @glezos about this when we made the change), so the commit is not visible, sorry. The name of the format is: KEYVALUEJSON Thanks |
Ah, that explains it, thanks Nico. Just got my resource pushed! But now when I click "view strings online" (which points to https://www.transifex.com/projects/p/lantern-www/viewstrings/#undefined/master) I get "There was an error connecting to server." Am I doing something wrong? |
Never mind, got it figured out! Just had to push some empty stub translation files. Now https://www.transifex.com/projects/p/lantern-www/resource/master/ is looking ready to rock. |
According to http://support.transifex.com/customer/portal/articles/971979, Transifex supports Chrome's i18n json format, but does not support the simpler {"msgid": "msg"} json format used in frontend tools like https://github.com/PascalPrecht/angular-translate. Would it be possible to add support for this format? Here's an example of it in action: http://plnkr.co/edit/Hw4iMz (note the locale-de_DE.json and locale-en_US.json files).
Thanks for your consideration, and thanks for Transifex!
The text was updated successfully, but these errors were encountered: