Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Doesn't Work With Recent MessageFormat Updates #4
Yeah, I installed
My grunt-exec configuration looks like:
Kinda' terrible, but it works for me for now. I agree, about
referenced this issue
May 2, 2014
this project seems dead unfortunately. I have started a new one at https://github.com/alex-dow/grunt-messageformat-compiler
Has anyone already looked at either of the following libraries as a replacement for this project?
How do they compare to this project? Which of these is the easiest to migrate to?
If no-one has any experience with these, I'll try to do a comparison myself in the next few weeks and see how it goes.
While I'm not aware of any formal comparisons to any of these projects, I can explain my rationale for wanting to stick close to MessageFormat:
i18next has a translation UI, a nice JSON structure, including support for multiline strings that are stored in arrays. Unfortunately, i18next does not use the ICU standard syntax. Since my webapp will also have a backend component to it written in Java and using ICU4J, I'd rather stick with the more common standard.
FormatJS is robust, has direct integrations with some popular frameworks, and does use MessageFormat and thus uses ICU standards. However, it relies on the http://www.ecma-international.org/ecma-402/1.0/index.html. Only IE11 fully supports this standard. Polyfills exist, but I'd prefer to avoid using them when possible.
These are just my opinions really, and I have not done extensive research into any of those tools. But I still find that MessageFormat provides client-side localization with the lowest footprint and widest browser support (without resorting to polyfills).