Awesome
Unity-Localization
The tool is an internal localization system for unity-based projects with support of right-to-left (RTLL) translation.
Import
- Go to release page.
- Download the lates release of the package.
- Import it to your unity project.
Abbrevations
LTR: Left To Right RTL : Right To Left
Installation
use https://github.com/ertanturan/Unity-Localization.git
in unity package manager.
Usage
To Create a new language
- Right click and press
Create>>Localization>>Language
- It'll automatically move your newly created language to resources
- Set the language font and orientation as you wish
To Create a new Alphabet
- Pretty much follow the new language steps above just with "Alphabet" option instead
To create language-dependent text/sprite/video
- Note that you can create language-dependents anywhere as you want the system won't move them automatically.
- Right Click
Create>>Localization>>(Language Dependent Text/Sprite/Video)
- Set size for your language dependent item (I used Language dependent text for demonstration). Size indicates how many language that your text gonna be able to be translated .
- Drag and drop your previously created language items froum your resources folder (If can't be found please proceed to the installation above)
- Set content for your text .
- Head to your
hierarchy >> right click >> UI >> Text - RTLTMP >> Click add component >> Language text
. - Set
Lang Dependent Text
attribute on yourLanguage text
(Which you have created on first step ) . - Press play and you are done !
Demo Project
Demo project can be found under packages/package-directory/Scenes
folder named LocalizationDemo
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.