A lightweight, zero-runtime-dependency, high-performance localization system for Unity with support for multiple languages, RTL (Right-to-Left) text, binary format (BLOC), and DeepL translation integration.
- High Performance - Binary BLOC format for fast loading and minimal memory footprint
- 100+ Languages - Support for over 100 languages with native name display
- RTL Support - Automatic Right-to-Left text handling for Arabic, Hebrew, Persian, and more
- Zero Runtime Dependencies - Only requires TextMeshPro (optional for basic usage)
- Anti-Tamper - Optional file hash verification to protect translation files
- Editor Tools - Built-in Language Editor with DeepL translation integration
- Multiple Component Support - Works with TMP_Text, TMP_Dropdown, Legacy UI, and TextMesh
- Format Parameters - String formatting support with
{0},{1}placeholders
Add the package via Unity Package Manager:
https://github.com/PicoShot/Localization-Unity.git?path=/Package
Open the Language Editor from Tools > Localization > Language Editor to:
- Add supported languages
- Create translation keys
- Add translations for each language
- Click on save to export BLOC files to project
Add the Localized Text component to any GameObject with a text component:
- Add "Localized Text" component
- Set Translation Key to your key
// Get a simple translation
string greeting = LocalizationManager.GetText("greeting");
// With format parameters
string welcome = LocalizationManager.GetText("welcome_message", "John");
// Get an array of strings
string[] options = LocalizationManager.GetArray("menu_options");- Usage Guide - Complete API documentation and usage examples
- Keybinds - Language Editor keyboard shortcuts
- BLOC Format - Binary localization file format
- FAQ - Frequently asked questions
- How It Works - Architecture and implementation details
- Unity 2022.3 or higher
- TextMeshPro (included with Unity)
Special thanks to my friends for their hot-fixes, suggestions, and help with implementing this project:
This project is licensed under the MIT License - see the LICENSE file for details.