Search Issue Tracker

Feature Request

Votes

0

Found in [Package]

3.0.6

Issue ID

TMPB-188

Regression

No

TMP FontStyles Don't Utilize with Unity Localization Culture

Package: TextMeshPro

-

Steps to reproduce:
1. Open the attached user's project "1549351 TMP FontStyles Don't Utilize with Unity Localization Culture.zip"
2. Open the attached project
3. Open SampleScene
4. Press play
5. Check the localized string in the Game Window

Expected results: The message is displayed in English
Actual Results: The localized string uses the Turkish İ "THİS SENTENCE CONTAİNS A DOTTED İ"

Reproducible in: TMP 3.0.6 (2020.3.48f1, 2021.3.25f1, 2022.2.18f1, 2023.1.0b16, 2023.2.0a14)

Note:
-Customers internal solution for the moment was to modify the local copy of TMP.
-They added a TMP_Settings.CurrentCulture that they set from theır game on Init and on SelectedLocaleChanged . Then they use that for ToUpper and ToLower everywhere that the FontStyles UpperCase, LowerCase, and SmallCaps are checked. Screenshot of some of the modifications is attached (image(1) (1).png)

  1. Resolution Note:

    This is part of a bigger refactor that is needed to localize TMP properly. Text transformation, as well as font features, need to be based on the script and language.

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.