Saturday, 31 January 2015

angularjs i18n - Multi language support - localization

The official solution:
https://docs.angularjs.org/guide/i18n

But they just support basic things like currency, date.

I want have different settings for a button's label -- "submit", if user uses En location it will be "submit", if user uses Zh_cn it will be "提交"....

Another solution:
http://lostechies.com/gabrielschenker/2014/02/11/angularjspart-12-multi-language-support/

This is what I want, but the architecture design is so ugly!!!

Best solution:
http://www.ng-newsletter.com/posts/angular-translate.html

this is the best solution I found.

No comments:

Post a comment