{ "id": "63195", "key": "TIMOB-2563", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11235", "name": "Release 1.6.0 M02", "archived": true, "released": true, "releaseDate": "2010-12-27" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:27.000+0000", "created": "2011-04-15T03:22:54.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-05-24T16:07:43.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Yourproject/i18n/pt-PT/strings.xml works fine for iOS, but when\nbuilt for Android it causes a build error:

\n
\n[ERROR] invalid resource directory name: /Users/bill/projects/ti/Strings/build/android/res/values-pt-BR\n[ERROR] Error generating R.java from manifest\n
\n

Reason is because in android it needs to be values-pt-rBR (the\nlittle 'r' before BR). See Language and Region section of Android's\n\nProviding Resources doc.

{html}", "attachment": [ { "id": "18166", "filename": "lh2563.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:22:56.000+0000", "size": 777359, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: region-specific i18n files need to be copied to res with \"r\" in front of region", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "128790", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

To QA,

\n

For testing, the attached ZIP file contains a project you can\nimport. It has the i18n directory that we use for localized\nstrings, and one of the subfolders there is fr-BE, for belgian\nfrench. In the failing versions of the sdk, if you try to build it\nyou'll get an error about that folder being a bad name. In the\nfixed version, it should build without problem.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:22:56.000+0000", "updated": "2011-04-15T03:22:56.000+0000" }, { "id": "128791", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [34d7f80a2a35d83721ef6bbdb932b3a26be472b2])\n[#2563 state:fixed-in-qa] For i18n folders with\nregion-specifications, like fr-BE, make sure the file copied to\nAndroid's res folder gets an 'r' in front of the region. \nhttps://github.com/appcelerator/titanium_mobile/commit/34d7f80a2a35...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:22:57.000+0000", "updated": "2011-04-15T03:22:57.000+0000" }, { "id": "128792", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

built without an issue for 1.6 and 2.2.1, Do not have device\nwith belgian french available though. itanium SDK version: 1.6.0\n(01/04/11 08:01 e49700d)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:57.000+0000", "updated": "2011-04-15T03:22:57.000+0000" }, { "id": "289755", "author": { "name": "bburgess66@netvigator.com", "key": "bburgess66@netvigator.com", "displayName": "Brian Burgess", "active": true, "timeZone": "Asia/Shanghai" }, "body": "this is happening again in 3.2.0 .. at least when I am trying with 'zh-TW'.", "updateAuthor": { "name": "bburgess66@netvigator.com", "key": "bburgess66@netvigator.com", "displayName": "Brian Burgess", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-01-26T17:45:45.000+0000", "updated": "2014-01-26T17:45:45.000+0000" }, { "id": "306377", "author": { "name": "hitmanmcc", "key": "hitmanmcc", "displayName": "André Coelho", "active": true, "timeZone": "Europe/London" }, "body": "Brian is right, this is happening again. I have an i18n folder with an en and pt-PT folder and it works when I deploy on iOS, if I deploy an Android it aborts the build with an error. if I change to pt-rPT it works on Android but then when I deploy on iOS it won't work, falling back to en strings.xml values, even though the system language is pt-PT. Please fix this, it is a major inconvenience for app localisation.", "updateAuthor": { "name": "hitmanmcc", "key": "hitmanmcc", "displayName": "André Coelho", "active": true, "timeZone": "Europe/London" }, "created": "2014-05-24T16:07:43.000+0000", "updated": "2014-05-24T16:07:43.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }