Now the android formatter takes the --developer-language flag into account when it is used in conjunction with generate_all_localization_files.
The brings the behavior in line with the documentation of --developer-language:
When generating files this language will be used as default language and its translations will be used if a definition is not localized for the output language.
This addresses https://github.com/scelis/twine/issues/225 and changes the android formatter to behave like suggested in https://github.com/scelis/twine/issues/225#issuecomment-393457223.
Now the android formatter takes the
--developer-language
flag into account when it is used in conjunction withgenerate_all_localization_files
.The brings the behavior in line with the documentation of
--developer-language
:On android the default language lives in the folder
res/values/
(no language specifier):It now also works analogous to
determine_language_given_path
where the default language is already considered.