Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.5.0
    • Fix Version/s: Release 7.5.1
    • Component/s: None
    • Environment:

      Ti SDK 7.5.0 GA
      OS Simulator / Xcode 10.1

      Description

      Ti.Locale.currentLanguage returns wrong language
      Ti.Locale.currentLocale return correct language
      Localized strings L("key") are replaced incorrectly
      (Works fine with SDK 7.4.x)

      Steps to reproduce:
      1. Create strings.xml within folder i18n/de and add <string name="test">deutsch</string> into resources node. Create strings.xml within i18n/en folder and add <string name="test">english</string> into resources node.
      2. Set simulator device language and region to "German"
      3. Add lines to app.js:
      console.log(Ti.Locale.currentLanguage);
      console.log(Ti.Locale. Ti.Locale.currentLocale);
      4. Add label with a localized string e. g. L("test") to view

      Expected results:
      Console:
      de
      de-DE

      Label text:
      deutsch

      Current results:
      Console:
      en
      de-DE

      Label text:
      english

        Attachments

          Activity

            People

            • Assignee:
              vijaysingh Vijay Singh
              Reporter:
              tw Thomas Weber
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code