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

Windows: Ti.Locale.setLangauge result is delayed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 7.5.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2018 Sprint 26, 2019 Sprint 1

      Description

      In our unit tests, we attempt to change languages and ensure we end up pulling the correct translation strings. Windows behaves oddly in that the language does get changed immediately in our model, but it still pulls the translation strings from the old language for a little while.

      So ~3 tests fail in order by using the wrong language's strings, and it appears to be using the previous test's language. I'm not sure if there's some caching going on, or overriding the language is really done async - or maybe when we ask for the ResourceLoader for the current view it's outdated because it needs to load async when primary language changes?

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              cwilliams Christopher Williams
              Reviewer:
              Gary Mathews
              Tester:
              Keerthi Mahalingam (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code