A handy Unity Editor tool for managing localization keys and language files directly within the Editor. Easily find, edit, and save localization keys, auto-attach components, and generate language files with zero hassle.
- 🔍 Find all
TMP_Localizer
components in project prefabs - ✏️ Edit
localizationKey
values directly in the Editor window - 📅 Save changes back into
.txt
files and update prefab assets - ➕ Automatically add
TMP_Localizer
to allTMP_Text
components - 🌍 Generate new language files based on any existing base language
Localization File View | Add Missing Localizers |
---|---|
![]() |
![]() |
Create Language View | Find Localization Files |
---|---|
![]() |
![]() |
More views:
- Unity 2022.3+
- TextMeshPro
- Odin Inspector (Editor-only, for UI rendering)
- Open the editor via
Tools > Localization Editor 🇨
- Select a language from the dropdown
- Search or scroll to find any localization key
- Use
Find All TMP_Localizers in Resources
to scan all prefabs - Edit keys and press
Save Changes To Assets
to apply - Use
Add TMP_Localizer to All TMP_Text In Resources
to automate component attachment - Generate new language files with the
Create New Language From Base
section
LocalizationEditorWindow.cs
— the main Odin-powered editor windowResources/Localization/*.txt
— language filesTMP_Localizer.cs
— the component that applies localized text toTMP_Text
Add a TMP_Localizer
to any TMP_Text
element. Set its localizationKey
.
On language change, it will update the text automatically.
public class TMP_Localizer : LocalizeBase
{
public override void UpdateLocale()
{
_text.text = Locale.GetLocalized(localizationKey);
}
}