Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy Load Multiple Translation Files #1502

Closed
voi99 opened this issue Nov 7, 2024 · 1 comment
Closed

Lazy Load Multiple Translation Files #1502

voi99 opened this issue Nov 7, 2024 · 1 comment

Comments

@voi99
Copy link

voi99 commented Nov 7, 2024

Hi @CodeAndWeb

I just wanted to say a huge thanks for stepping in to maintain ngx-translate. I really appreciate all the time and effort you’re putting into keeping this library going!

Question:
As my project grows and the translation files become larger, I was wondering if there’s an option to load multiple translation files. I came across this blog [https://medium.com/@redin.gaetan/angular-multi-translation-files-7116239d915b]

I’ve successfully managed to load multiple files using this loader. However, the issue is that all files are eagerly loaded. Is there a way to load them dynamically/lazy, for instance, only when a specific route is accessed?

@voi99 voi99 changed the title Dynamically Load Multiple Translation Files Lazy Load Multiple Translation Files Nov 7, 2024
@CodeAndWeb
Copy link
Member

Thanks ;-)

I am closing this one for now - it's practically identical with #1501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants