Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2183] Changes to strings.xml do not take effect until after a clean build.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-09-16T06:46:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterGordon Illan
AssigneeShak Hossain
Created2013-09-11T23:28:54.000+0000
Updated2016-03-08T07:41:10.000+0000

Description

Update a string in strings.xml and run the app (and trigger the display of the string you just edited). You won't see the updated string. Now do a clean build and run. You will see the updated string.

Comments

  1. Mostafizur Rahman 2013-09-12

    Hello , I checked this issue. It’s working properly for me without clean project build. Thanks
  2. Peter Evans 2013-10-29

    Well it doesn't work properly for me either. Titanium Studio, build: 3.1.3.201309132423 (c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-21 (origin/master) Date: 13 September 2013, 00:23:57
  3. Mostafizur Rahman 2013-12-14

    We tried to reproduce this issue with a sample test case but everything worked fine for us with Titanium SDK 3.1.3.GA and Titanium Studio, build: 3.1.3.201309132423. Please test this sample case and let us know if the issue persists. If yes, please let us know what we are doing differently.

    Testing Environment:

    MacBook Pro OSX Version 10.9 Ti CLI 3.1.2, 3.2.0-cr3 Titanium SDK:3.1.3.GA, 3.2.0.v20131209192649 IOS Simulator 7.0

    Test Code

       var win1 = Titanium.UI.createWindow({  
           title:'Tab 1',
           backgroundColor:'#fff'
       });
        
       // create a label
       var label = Ti.UI.createLabel({
          text: L('hello')
        });
        
       // add to parent
        
       win1.add(label);
       win1.open();
       
    strings.xml
       <?xml version="1.0" encoding="UTF-8"?>
       <resources>
       	<string name="hello">
       		Hello World
       	</string>
       
       </resources>
       

    Steps to Reproduce:

    Create a simple mobile project.

    Paste this code in app.js

    Paste Hello World into strings.xml into i18n directory.

    Run the app

    Make a little change into Hello World2 into strings.xml and the run the app again.

    It’s working properly without clean project build.

JSON Source