Rajkishore Puhan Rajkishore Puhan - 1 year ago 104
AngularJS Question

Internationalization in AngularJS

Which is the best practice to implement internationalization in AngularJS?
Should I use Unicode or Angular Translate service (i18n)?

Answer Source

It's better to use i18n in my opinion. This prevents you from making multiple templates and other resources except translation files. Also you'll be able to use translate filter out-of-box like this:

{{ 'KEY_OBJECT.STRING'|translate }}

Any file you're editing is better to save in UTF-8 encoding.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download