{ "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
\nReason 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.
To QA,
\nFor 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.
(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...
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)