简体   繁体   中英

i18n internationalization Changing terminology

I want to change the terminology of my Angular app.

Basically i18n is what I need however I dont care about changing the local or even get the localization and switching language. The language will be english the only thing that is going to change is some text within my app.

For example, I have two terminology (T1 and T2) and whether I select one of those two I want different static text to change.

T1 : Create an object

T2 : Create an object (some other text)

Do you know how to do it? My main issue is the complexity of the i18n module since it s made for a total change of language.

Thanks.

I updated Angular 6 to Angular 7 and I used Ngx-translate instead. As I thought I18n was too complex and not really useful in my case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM