angulartranslationngx-translate

Differences ngx-translate vs i18n


There are multiple methode to translate an (Angular) app, the big main methodes are :

ngx-translate

and

Angular 2 native i18n

As far I understood i18n is easier for SEO because of the clean url browsing with

e.g

app.com/de

app.com/en

on the other hand with ngx-translate it is easier to switch between languages.

I know that the creator of ngx-translate was hired by Angular for their i18n. Can anybody say me what the main differences are (pro/cons)?


Solution

  • I believe that this issue answers your question: https://github.com/ngx-translate/core/issues/495