EddyVerbruggen/nativescript-localize

[FR] default language in package.json

farfromrefug opened this issue · 1 comments

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?

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