πLocalized Text
Inherited Legacy and TMP text components to translate text by key
When game is good enough to be translated to different languages this script will help
How to use
We use this package with little tweaks
Swap Text.cs to LocalizedText.cs or TextMeshProUGUI.cs to LocalizedTextMeshProUI.cs with debug mode in the inspector:



Default implementation of LocalizedText.cs is to translate it in Awake with a key by your localization system. We recomend to reload scene on localization language change so all texts will translate again. Or you can implement events handle in LocalizationText.cs.
Last updated