Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11681] Android: Localization Keys cannot contain a . (dot)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2013-08-01T23:42:50.000+0000
Affected Version/sRelease 2.1.2, Release 2.1.3, Release 3.0.0, Release 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterMarkus Wutzler
AssigneeIngo Muschenetz
Created2012-10-15T11:06:54.000+0000
Updated2017-03-20T22:18:37.000+0000

Description

If keys in strings.xml contain a . (dot) the values are not displayed on android. On iOS it works fine. This is not well documented in http://docs.appcelerator.com/titanium/2.1/index.html#!/guide/Internationalization-section-29004892_Internationalization-Resourcefilestructure

Comments

  1. Daniel Sefton 2012-11-06

    Tested and confirmed on Android 2.3.4 with TiSDK 2.1.2 GA, 2.1.3 GA and latest 3.0.0 CI build. For example, using works on iOS, but not Android.
  2. jithinpv 2013-03-21

    i have tested with it works fine on iOS but it doesn't works on android. LOG: [ERROR] Error(s) compiling generated Java code [ERROR] /Users/ayub/Documents/Titanium_Studio_Workspace/Kitchen Sink/build/android/gen/com/appcelerator/kitchensink/R.java:43: welcome_message is already defined in com.appcelerator.kitchensink.R.string public static final int welcome_message=0x7f060008; ^ 1 error Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4 iOS iPhone Simulator: iOS SDK version: 6.0 jithinpv
  3. Chris Barber 2013-08-01

    Dupe of TIMOB-12161.
  4. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source