项目作者: ertanturan

项目描述 :
Unity-targeted , extendible Localization system .
高级语言: ShaderLab
项目地址: git://github.com/ertanturan/Unity-Localization.git
创建时间: 2019-09-17T07:21:49Z
项目社区:https://github.com/ertanturan/Unity-Localization

开源协议:GNU General Public License v3.0

下载


Unity-Localization

The tool is an internal localization system for unity-based projects with support of right-to-left (RTLL) translation.

Import

  1. Go to release page.
  2. Download the lates release of the package.
  3. 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

  1. Right click and press Create>>Localization>>Language
  2. It’ll automatically move your newly created language to resources
  3. Set the language font and orientation as you wish

To Create a new Alphabet

  1. 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.
  1. Right Click Create>>Localization>>(Language Dependent Text/Sprite/Video)
  2. 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 .
  3. Drag and drop your previously created language items froum your resources folder (If can’t be found please proceed to the installation above)
  4. Set content for your text .
  5. Head to your hierarchy >> right click >> UI >> Text - RTLTMP >> Click add component >> Language text .
  6. Set Lang Dependent Text attribute on your Language text (Which you have created on first step ) .
  7. 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.

ENJOY !