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

SG.SetDefaultLanguage only way to load CLDR #140

Open
JohnLindahlTech opened this issue Jan 14, 2019 · 0 comments
Open

SG.SetDefaultLanguage only way to load CLDR #140

JohnLindahlTech opened this issue Jan 14, 2019 · 0 comments

Comments

@JohnLindahlTech
Copy link

Given the following repo and specific row in my loopback-server I'm trying to get Strong-Globalize to work.
https://github.com/JohnPhoto/sg-test/blob/master/server/server.js#L6

If I do not call SG.SetDefaultLanguage('sv'); row I am not able to get swedish to work.
I interpret the call to set sv and then es as the fallback language, which is not what I exactly want to. But I am not able to find any documentation on how I am supposed to do anything differently.

My long haul plan is to use en as fallback language but adding support for request-based support for sv and es with negotiator, as briefly described here.

I am aware that this issue is more of a question rather than an issue, but maybe it can be seen as a request for some improvements in the documentation regarding usage and purpose of SG.SetDefaultLanguage().

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

1 participant