React seems to work great together with Meteor, which has been well demonstrated in the official todos example app (see
react branch). I’ve been using this demo to do the first Meteor+React steps and was able to see most of the best Meteor practices at a glance, which turned out to be really helpful in my first real project.
One thing is missing in the Todos app though, it is how to make the React components translatable. Nearly every project these days is multilingual, but there seems to be no vivid conventional solution for such a feature in the Meteor community (at least I was not able to find one). There are some discussions of using tap:i18n for Blaze and few pre-Meteor-1.3 tips, which are now not so relevant.
I’m sure someone has already figured out how to make Meteor+React apps translated (e.g. using
messageformat). Maybe there is even an elegant and robust way of switching between the languages (with no page reload and with downloading locales on fly as there may be too many). Some good-looking admin interface for maintaining the translations can also be a part of ‘an ideal solution’.
I will be really grateful if somebody could share their thoughts on how to do i18n in Meteor+React apps. Perhaps, somebody could even push some code to Todos demo and reference a related issue I created in that repo.
All kings of thoughts are welcome! MDG’s attention and time will be also appreciated, since a smooth and clear approach to i18n is one of the key things the developers are looking for when choosing between the alternative frameworks.