kelvinhokk / cordova-plugin-localization-strings

Cordova Plugin for Localization of Strings on the App
MIT License
119 stars 107 forks source link

If missing config_android, then empty strings.xml will be created #69

Closed gwynjudd closed 2 years ago

gwynjudd commented 2 years ago

Hello,

I found this with the latest release.

If the (say) fr.json has content:

{
  "app": {
    "aboutVersionCode": "Code version"
  },
  "locale": {
    "android": [
      "fr"
    ]
  }
}

Key point being, there is no "config_android" set, this strings.xml generated will be empty

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources/>

Will follow up with a PR shortly