Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2824] Android: Add support for app name localization

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:37:11.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroidbuild, cb-verified, module_android, parity, qe-testadded
ReporterStephen Tramer
AssigneeChris Barber
Created2011-04-15T03:30:29.000+0000
Updated2013-11-26T01:43:17.000+0000

Description

Add support for the "app.xml" file in localization - this file is located in i18n/<LOCALE> and contains properties which are not strings used by the app, but strings used by the OS for localization (for example, the app name display on the dash). This file is laid out exactly like strings.xml but the string name property keys are used to set appropriate properties for display. Currently the only available key is: appname: The name of the app displayed on the dash This file is OPTIONAL. If not provided the settings in tiapp.xml for app properties take effect. Currently there is a shortcircuit in localecompiler.py to ignore the app.xml file on Android. See bug Ticket #2584 (/projects/32238/tickets/2584) for iOS ticket & solution commit.

Attachments

FileDateSize
Actifry_i18.zip2012-03-14T21:54:53.000+00003712863

Comments

  1. Eduardo Gomez 2012-03-15

    Work around

    - i18n//strings.xml my App - androidmanifestfile.xml Use @string/android_app_name in application tag as cited below:
  2. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781

JSON Source