Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

nightlord189/Unity-Simple-Localizator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Simple Localizator

Simple localization plugin for Unity3D game engine.

Download link

Quick start

1. Download and import package to your project (Assets->Import Package->Custom Package).

      

2. For example, let's do the Image components multilangual

Select your Image gameobject and add MultiLangImage component to it: ex

Assign your images of each language what you want to translate to the Translations array: ex

Now you can see how component translates your Image by changing the Current Language property of this component: ex       

3. Multilang texts, meshes, materials, sprites

Similarly, you can do these actions with other Unity components of content: Sprites, Meshes, Materials, UI text, GameObject. Just select the component (MultiLangSimpleText, MultiLangMaterial, MultiLangAudio, MultiLangVideo and etc), add it to GameObject and setup Translations array! ex       

4. Changing application language

To change the app language, add the LanguageManager component to any gameobject on your scene: ex If Auto Detect Language property is checking, LanguageManager automatically defines language by user's system on start. You always can change current language in runtime.

For example, we are creating the Button and adding LanguageManager's event SetEnglishLang to OnPress: ex Similarly, you can call SetEnglishLang, SetRussianLang, SetKazakhLang.     

If you need to add more languages, just add it to Language enum in SimpleLocalizator/Data/Language.cs.

Author site: NLDevelop.com.

About

Simple localization plugin for Unity3D game engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages