EddyVerbruggen / nativescript-localize

Internationalization plugin for NativeScript using native capabilities of each platform
MIT License
79 stars 31 forks source link

[FR] default language in package.json #75

Open farfromrefug opened 5 years ago

farfromrefug commented 5 years ago

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 commented 4 years ago

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 👍🏻