meteor-messageformat
meteor-messageformat copied to clipboard
[V2] Documentation inputs
Here are some points that could be helpful to find in the documentation when you are not familiar with MessageFormat:
- Even in dev, you must be logged to save your translations from the UI (there is a not so clear 'insert denied' message if this is not the case).
- If you happen to set a schema on Meteor.users, you must add a new field called 'locale' (String) too (or you need to change the default for the
msgfmt.storeUserLocaleoption). - I could not find the explanation about the relationship between the browser locale (usually set through 'preferences' and associated to
navigator.locales) and the locale that MessageFormat will take into account. EDIT: I nailed this one using the last parameter (locale) of the MF API
Also, a lot of links in the document point to meteor.com and are now useless.
Thanks, @Sabst! The docs for v2 are next up on my list as we're getting closer to the final release. This is a great help, and I bet future users will appreciate it too. Will update to the new meteorapp.com address, and see what I can do about the SSR stuff next time I'm on this.