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

[FR] default language in package.json #75

Open
farfromrefug opened this issue Jul 9, 2019 · 1 comment
Open

[FR] default language in package.json #75

farfromrefug opened this issue Jul 9, 2019 · 1 comment

Comments

@farfromrefug
Copy link

Would be good to have another way to set the default language.
I use a vscode extension to manage my translations. However it won't recognize en.default.json so i need to remove the .default.
Consequently nativescript-localize is not happy and wont find the default language.
One solution would be to add a way to set the default language through a package.json plugin.
What do you think?

@eertmanhidde
Copy link

I think this is a good idea. I need to deploy the app in separate languages but I don't want to manually change the .json file every time. I tried some ways to override the locale on init but that didn't work great either. Besides all that, I love the plugin 👍🏻

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