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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
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.