Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23207

Android: Can't get localized app_name from L

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      Ti.SDK 5.1.2.GA, Genymotion emulator device 4.2.2

      Description

      Steps to reproduce:

      Create app/i18n/ru/app.xml

      <resources>
          <string name="appname">Мое приложение</string>
      </resources>
      

      Build app and look at the build/android/res/values-ru/strings.xml
      You can find localized value app_neme there.

      In app.js add Ti.API.warn(L("app_name", "I'm default value"));

      You can see: I'm default value
      But must be: Мое приложение

      But Ti.Locale.getString("app_name"); works as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              falko Andrey Tkachenko
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-9630
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration