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

Load translation files in each compoment #271

Open
duongvu89 opened this issue Oct 5, 2016 · 10 comments
Open

Load translation files in each compoment #271

duongvu89 opened this issue Oct 5, 2016 · 10 comments

Comments

@duongvu89
Copy link

Hello @ocombe,
We are upgrading our app from Angular 1.5.3 to Angular 2 using Angular CLI. In each component, we have small translation files for each language.
Can you support this kind of load in next version? Since there are some advantages with small translation files for each component rather than a big one.
Thank you!

@duongvu89 duongvu89 changed the title Load translation files in each compoments Load translation files in each compoment Oct 5, 2016
@ocombe
Copy link
Member

ocombe commented Oct 5, 2016

It's possible to do it using the shouldMerge option of the setTranslation method, but it's a bit complicated because you'll have to use the MissingTranslationHandler as well to bypass the loader when translations are missing.
I'll keep this opened as a feature request.

@duongvu89
Copy link
Author

That would be nice! Thanks! ;)

@marsanla
Copy link

+100

@Matmo10
Copy link

Matmo10 commented Oct 21, 2016

Just to clarify, partial loading isn't supported right now? If not, then consider this a +1 for this feature request :)

@gniewkos
Copy link

+1

3 similar comments
@marko033
Copy link

+1

@darkurse
Copy link

darkurse commented Jul 7, 2017

+1

@yoannjauffroy
Copy link

+1

@linxux
Copy link

linxux commented Aug 3, 2017

+1
Any update?

@marko033
Copy link

marko033 commented Dec 8, 2017

+1
update?

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

No branches or pull requests

9 participants