差异ngx-translate与i18n [英] Differences ngx-translate vs i18n
问题描述
翻译(Angular)应用有多种方法,主要的主要方法是:
There are multiple methode to translate an (Angular) app, the big main methodes are :
和
据我所知,由于使用干净的url浏览,i18n对于SEO更容易
As far I understood i18n is easier for SEO because of the clean url browsing with
例如
app.com/de
app.com/de
app.com/en
app.com/en
另一方面,使用ngx-translate可以更轻松地在语言之间进行切换.
on the other hand with ngx-translate it is easier to switch between languages.
我知道ngx-translate的创建者是Angular为其i18n雇用的. 有人可以告诉我(pro/cons)的主要区别是什么吗?
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)?
推荐答案
我相信这个问题可以回答您的问题: https://github.com/ngx-translate/core/issues/495
I believe that this issue answers your question: https://github.com/ngx-translate/core/issues/495
这篇关于差异ngx-translate与i18n的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!