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
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
- Missing #pragma directives warnings appear in Inspector when including .hlsl file in Shader
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.