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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.