{ "id": "63237", "key": "TIMOB-2605", "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": "11238", "name": "Release 1.6.0 M05", "archived": true, "released": true, "releaseDate": "2011-01-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:35.000+0000", "created": "2011-04-15T03:24:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "localization", "release-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:35.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
I'm working with a customer that is having the same issue I am\nhaving with using localization. Kevin W helped troubleshoot it with\nme. We walked through the identical same steps and it worked for\nhim but not myself nor the customer. Tested on 1.5.0 GC and\n1.5.1.
Attached is the project I was tweaking on trying to get it to\nwork. Kevin had basically the same project and it worked for\nhim.
\nthe getString() always defaulted to the second arguement (The\nfallback text).
\nAny ideas on this one?
Forgot to mention. Customer ticket located here: http://developer.appcelerator.com/helpdesk/view/60311
Unable to duplicate this. Could be a TiDev issue of some kind -\nI built off of the command line using that script. master/HEAD, iOS\n4.2, simulator.
Gonna bump this to needs-more-info and post a possible\nworkaround on the HD ticket.
Hi Steve,
\nOk so I spent several hours this morning trying to debug this. I\nnow think it's an issue with Titanium Developer. Here are the steps\nI took this morning:
So my assumption is it's an issue with Titanium Developer. I'm\nnot familiar with how Ti Dev works enough to make a judgement call\non this.
I found that if I tried to use localization on a project\noriginally created with 1.4.x branch of the SDK you would run into\nthese issues.
\nThe key to getting it to work is to delete the build directory\nand touch the tiapp.xml in a text editor. I also copied over the\nnew tags from a tiapp.xml created by the developer using the 1.5\nSDK. After all that, it worked fine for me.
Hey Guys,
\n\n I'm also experiencing this issue and it's intermittent. Sometimes the localized strings are displayed after a build but most of the time they are not. When it does work on the simulator, it never works deploying to the device. I took the sample project attached to this ticket and tried to build, the localization doesn't work. Tried to kill the build directory, retouch tiapp.xml, diff'd the xml structure with another 1.5.1 project, etc., no luck. Then I created a new project, copied in the i18n directory manually and everything worked. Was able to create three additional sample projects this way and every time the localization works. If there are any log files or anything I can provide to help you troubleshoot the ticket, please let me know. Thanks!
\n
\nAndreas
I'm having the same issue here. I attached another sample\nproject
\nI followed the docs instructions, put the strings.xml within\n[root]/i18n/en/strings.xml. On starting the\napp, L(\"base_ui_title\") returns \"base_ui_title\" instead of the\nvalue specified in strings.xml
\nI'm using Titanium Developer 1.2.2 along with the 1.5.1sdk
Ticket hasn't gone through yet but this has been fixed.
\nTo test and close:
\n(from [bc81d17959a8e369d92a3e402eaaa7a653b15c3a])\n[#2605 state:fixed-in-qa] Prevent unnecessary\nname mangling of .app bundle name. \nhttps://github.com/appcelerator/titanium_mobile/commit/bc81d17959a8...
Tested both test applications in simulator and watched log for\nproper output.
\nMobile SDK version: 1.6.0 (01/26/11 18:53 bd12917...)
\nSimulator Version: 4.2 (235)