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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
- BRG picking skips BatchDrawCommandProcedural when selecting the GameObject in the scene
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.