Translations are stored in Settings.bundle/[locale].lproj/Root.strings and res/values/pref-strings.xml files which are copied (recursively) by the following script (not part of pull request) to the projects platform folders:
hooks/after_prepare/020_copy_res.js:
Good one. I'd prefer to have the translations in a simple json and the plugin to write the entries to the platforms appropriate resources files as part of the prepare step.
This adds the ability to localise the strings prepended with "_@"
Here is an example:
app-settings.json
:Will generate e.g. for Android:
values/apppreferences.xml
:xml/apppreferences.xml
:Translations are stored in
Settings.bundle/[locale].lproj/Root.strings
andres/values/pref-strings.xml
files which are copied (recursively) by the following script (not part of pull request) to the projects platform folders:hooks/after_prepare/020_copy_res.js
: