Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1710] Locale not working on android with stringname containing ":"

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-12-20T01:05:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Appcelerator Modules
LabelsTCSupportTriage, android
ReporterMichael Kåring
AssigneeMauro Parra-Miranda
Created2014-10-10T08:20:00.000+0000
Updated2016-03-08T07:38:12.000+0000

Description

as previously reported in TIMOB-12161 but now also with ":"

Comments

  1. Motiur Rahman 2014-10-16

    Hello, stringname containing ":" works as expected for me in this testing environment. *Environment* Titanium SDK: 3.4.0 Titanium CLI: 3.4.0 Genymotion Android: 4.4.2, 4.2.2 OS X Version: 10.9.5, Appcelerator Studio: 3.4.0 *Result:* It's not a bug. *Test Code*
       
       var win = Ti.UI.createWindow({
       	exitOnClose : true,
       	layout : 'vertical',
       	backgroundColor:'#fff'
       });
       
       // Create a Label.
       var test = Ti.UI.createLabel({
       	text : L('welcome:test'),
       	color : '#000',
       	font : {
       		fontSize : 20
       	},
       	height : Ti.UI.SIZE,
       	width : Ti.UI.SIZE,
       	top:100
       });
       
       // Add to the parent view.
       win.add(test);
       
       win.open();
       
       
       <?xml version="1.0" encoding="UTF-8"?>
       <resources>
       	<string name="welcome:test">Hello how are you?</string>
       </resources>
       
    Thanks

JSON Source