Asset Store Link
What is this?
This is fast and easy to use localization plugin. Witch can be used on any platfrom. It’s user frendly for programmers to use inside project and for people who will work with localization files.
- Works right after the import
- Easy to organize language files
- Language switch in one code line
- No additional game objects on your scene
- No System.Xml import only small powerful text parser inside
- Comments support inside languge files
How to Use
Setting language
By default curent language is System default. But you can change it in one line of code
Example: Setting French Language
Localization.setLanguageCode("fr");
Getting localized string
string greeting = Localization.getLocalizedString("hello");
Getting localized string from specified file.
By default getLocalizedString function will look for token in languages default file. Default file name can be changed in package settings. But you can add as many files as you wish
Let’s Get localized string from “Dialogs” localizaion file
string greeting = Localization.getLocalizedString("hello", "Dialogs");
Localization file example
//--------------------------------------
// Game Diaglos File
//--------------------------------------
hello = "Hello" // some coment
buy = "Goodbye"
// other localization tokens
SETTINGS
You can modifay this setting at runtime or before game start.
LocalizationSettings.GENERAL_PATH = "Localization/";
default loaction of localization files, full path (Asset/Resources/Localization)
LocalizationSettings.DEFAULT_LANG_FILE = "Default";
default name of localization file.
LocalizationSettings.DEFAULT_LANGUAGE = "en";
Default language which will be used if system or specified (by setLanguageCode function) language is no available.
Full Use Example can be found in package example scene

Hope you enjoy the plugin ![]()
