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

How to dynamically load translations? #64

Closed
mfdolarea opened this issue Feb 15, 2017 · 3 comments
Closed

How to dynamically load translations? #64

mfdolarea opened this issue Feb 15, 2017 · 3 comments

Comments

@mfdolarea
Copy link

Which is the proper way to apply a different translation file (eg: i18n/es.js) ?

@rkit
Copy link
Owner

rkit commented Feb 18, 2017

As for as I know, you should include the translation (import 'select2/dist/js/i18n/es) and to change language through options.language

@mfdolarea
Copy link
Author

Yep, that's it! Thanks

@fsabreu
Copy link

fsabreu commented Mar 21, 2018

@rkit I'm with same problema. Can you give an example?

Thanks

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

3 participants