[TIMOB-2563] Android: region-specific i18n files need to be copied to res with "r" in front of region
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M02 |
Components | Android |
Labels | android, defect, release-1.6.0 |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-04-15T03:22:54.000+0000 |
Updated | 2014-05-24T16:07:43.000+0000 |
Description
Yourproject/i18n/pt-PT/strings.xml works fine for iOS, but when built for Android it causes a build error:
[ERROR] invalid resource directory name: /Users/bill/projects/ti/Strings/build/android/res/values-pt-BR
[ERROR] Error generating R.java from manifest
Reason is because in android it needs to be values-pt-rBR (the little 'r' before BR). See Language and Region section of Android's http://developer.android.com/guide/topics/resources/providing-resources.html"> Providing Resources doc.
Attachments
File | Date | Size |
---|---|---|
lh2563.zip | 2011-04-15T03:22:56.000+0000 | 777359 |