The library @workspace/i18n should just contain the translation asset files. The logic for handling language changes should be handled from the Transloco library. The library has an option for handling live translation changes (when you change the active language it will re-render pipes/bindings), but it will come with a slight performance hit for all the watchers. Alternatively you can change the language and reload your application to render all text in the correct language.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The library
@workspace/i18n
should just contain the translation asset files. The logic for handling language changes should be handled from the Transloco library. The library has an option for handling live translation changes (when you change the active language it will re-render pipes/bindings), but it will come with a slight performance hit for all the watchers. Alternatively you can change the language and reload your application to render all text in the correct language.