Project: titanium
Issue TIMOB-20527: Android (Tooling): Support setting source for the default strings
The Titanium CLI always assumes English ({{en}}) as the default language for an app. When using a {{i18n}} folder, you must always have {{en/strings.xml}} as well, or the default {{build/android/res/values/strings.xml}} will only contain {{app_name}} and thus give errors reporting missing strings when running the app on a non-Dutch system. In iOS you can set the default language using: {code} CFBundleDevelopmentRegion nl_NL {code} For Android, it would be nice to have a {{ti.android.defaultLanguage}} property so you can determine the language where the CLI will look for strings for {{build/android/res/values/strings.xml}}. Steps to reproduce: 1. Create a new Android project: {{ti create -p android -n strings --id test.strings -d .}} 2. Create a Dutch i18n strings.xml at {{i18n/nl/strings.xml}} {code}	Hallo wereld! {code} 3. Build the project: {{ti build -p android -b}} 4. Check out {{build/android/res/values/strings.xml}} and {{build/android/res/values-nl/strings.xml}} and see the first only contains {{app_name}}.
Story points: 5