I have files errors.ts
and content.ts
with English content same way errorsEs.ts
and contentEs.ts
with Spanish content.etc. I am doing JIT compiler angular localization
to translate the language. I have imported errors.ts
and content.ts
throughout the app.
As of now, I am replacing the translated language(Spanish, Italian) content into the English content.ts
and errors.ts
to run it as a different language. Is there any other way to do it without replacement of files?