Angular2 i18n at this point?

后端 未结 6 1508
故里飘歌
故里飘歌 2020-12-13 02:04

We decided to give it a spin and we started fresh project using Angular2. So far so good, but at this point we\'re facing an issue. At this point, what is the proper approac

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-13 02:37

    There is an official support for i18n in Angular.io here:

    https://angular.io/docs/ts/latest/cookbook/i18n.html

    But! As mentioned in docs:

    You need to build and deploy a separate version of the application for each supported language!

    That makes this feature useless in most cases ...

    Unless you will use it without CLI as described here:

    https://devblog.dymel.pl/2016/11/03/angular2-and-i18n-translate-your-app/

提交回复
热议问题