Angular

Angular i18n vs ngx-translate

There are normally 2 ways of implement multi language in angular.

i18n is supported by Angular team officially.

ngx-translate is on https://github.com/ngx-translate/core

Both has pros and cons.

i18n is supported long term and ngx-translate is not supported long term because Angular team hired the author of the repository to develop i18n package.

i18n should have bundles per language besides ngx-translate has only 1 bundle for all languages.

i18n should re-load every time when user changes language but ngx-translate support dynamic translation.

So you can choose any of both you like.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *