[AC-1128] region-specific i18n files need to be copied to res with "r" in front of region
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-07-14T15:59:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | Android,, i18n,, localization, |
Reporter | Brian Burgess |
Assignee | Mauro Parra-Miranda |
Created | 2014-05-25T05:04:04.000+0000 |
Updated | 2016-03-08T07:37:29.000+0000 |
Description
This is happening just as in TIMOB-2563 once again in 3.2.0 on thru 3.2.3:
Android: region-specific i18n files need to be copied to res with "r" in front of region.
As mentioned this does NOT occur for iOS, so the folder needs to be renamed back again, in order to build for iOS.
Hi, It’s not a bug. It’s working as expected. But keep in mind that in the i18n folder you have to create supported language sort code folder according to the [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) standard for example, en for English is the default. And XML file will be added inside that folder . !http://www.2imgs.com/779f5872a1!
Testing Environment
Titanium SDK: 3.2.3, 3.3.0.RC, Titanium CLI: 3.3.0 –rc, Android SDK: 4.2.2, 4.4.2 OS X Version: 10.9.3, Appcelerator Studio: 3.2.3Steps to test
1. Create a classic project. 2. Paste this code in app.js file. 3. In i18n folder, create [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) standard language folder. 4. Change your device language according to your i18n folder. 5. Run this code with the testing environment.Test Code
For detail info follow [this link](http://docs.appcelerator.com/titanium/latest/#!/guide/Internationalization).