Search Issue Tracker

Fixed

Votes

0

Found in [Package]

0.10.0-preview

Issue ID

LOC-171

Regression

No

[Android][Localization] Incorrect handling of similar locale codes on Android

Package: Localization

-

Reproduction steps:
1. Open the attached user's project "ChineseLocaleTest.zip"
2. In the Project window under "Assets/Scenes" open "SampleScene.unity"
2. Define zh-Hant and zh-Hans as available locales
3. Change device language to one of the defined locales
4. Build the project for Android

Expected result: the text should translate to one of the selected locales
Actual result: the text fails to translate and fallsback to English locale

Reproduces on: Localization 0.10.0-preview (2019.4.22f1, 2020.2.7f1, 2020.3.0f1, 2021.1.0b12, 2021.2.0a10)
Could not test 2018.4.33f1 due to the project breaking when downgrading

  1. Resolution Note:

    Upgrading the localization package to Version 1.0.0-pre.9 - May 12, 2021
    is fixing the issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.