XML Localization (crossplatform, UI text/image auto swap)
Jarosław Wątroba
$5.00
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2018) |
5.0 |
11/08(2024) |
5.0 |
Jump AssetStore
Do you miss Strings.xml from Java Android programming in Unity 3D? Or maybe you don't know yet how awesome XML is? No problem! This simple package brings XML string-based localization to Unity and expands its potential by allowing to automatically swap not only text, but language-dependent UI Image sprites as well!
WebPlayer demo available here.
Includes two example scenes and extensive documentation with clear step-by-step setup instructions. Works with Unity 5 and 4 Non-Pro. Full source code included.
Create an xml file containing all your strings and language-dependent images right in your assets folder, then add a prefab to your scene. It's that simple! All UI Text and UI Image elements which contain a string name (applies to everything: buttons, placeholders, etc) will change their content to the appropriate language. Strings and Images are also accessible from code. You can either pre-set a language to be displayed or use automatic detection of system language on the device your player is running. Runtime language change is possible too.
Compatible and tested with both Unity 4.6 and Unity 5.4. Works on every platform (extensively tested on Standalone and Android). However, only platforms supporting Application.systemLanguage may use language autodetection.