[AC-6514] Localization not working on SDK 9.0.0.GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2020-03-27T18:48:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Michiel van Eerd |
Assignee | Abir Mukherjee |
Created | 2020-03-26T13:37:45.000+0000 |
Updated | 2020-03-27T18:48:26.000+0000 |
Description
Since SDK 9.0.0.GA the localization isn't working anymore. When I build the app I also see the following warning for each line in the strings.xml file:
{noformat}
[INFO] [GRADLE] warn: removing resource nl.michielvaneerd.testlocalize:string/my_app_name without required default value.
{noformat}
My localize file strings.xml looks like this:
{noformat}
This is a test app
{noformat}
This is actually a bug on your end. The issue is that you're missing a "en" folder for the "app_name" string. English "en" is the default language fallback folder in case the device's locale doesn't match anything you have. This has actually always been required by Google. The gradle build tools are just better at reporting this issues like this.
Hi Joshua, Thank you for the explanation, this solved my issue! Michiel
Happy to help! :)