I am working on an Angular 7 project and I have to implement internationalization
The project requires me to have only one deliverable installed at the customer server (that means only one folder)
This is why I can't use the actual version i18n, I'll use your library ngx-translate.
The new i18n version will released in a few months, I would like to anticipate the migration of ngx-translate to i18n.
I thought to inject the two libraries (i18n and ngx-translate) in the project to implement now the i18n IDs. But I'll use the pipes of ngx-translate until the upgrade is done.
It should look like this:
<p i18n="@@hometitre" translate>home.title</p>
With this, I can generate one file xlf without using it when I build the application.
Do you think this is correct?
I saw a library called i18n-polyfill . It allows us to concatenate an .xlf file generated by an i18n library and by an object that went through an i18n service.
Knowing that all my variables are into ".html" file, I don't really understand know how to use this service?
Hi,
I am working on an Angular 7 project and I have to implement internationalization The project requires me to have only one deliverable installed at the customer server (that means only one folder) This is why I can't use the actual version i18n, I'll use your library ngx-translate.
The new i18n version will released in a few months, I would like to anticipate the migration of ngx-translate to i18n. I thought to inject the two libraries (i18n and ngx-translate) in the project to implement now the i18n IDs. But I'll use the pipes of ngx-translate until the upgrade is done.
It should look like this:
<p i18n="@@hometitre" translate>home.title</p>
With this, I can generate one file xlf without using it when I build the application.
Do you think this is correct?
I saw a library called i18n-polyfill . It allows us to concatenate an .xlf file generated by an i18n library and by an object that went through an i18n service.
Knowing that all my variables are into ".html" file, I don't really understand know how to use this service?