Localization Nodes
These nodes allow to manage the localization and translation system.
Get Nodes
Get Localization Data Node
🔍
Reflectis>Get>Reflectis Localization: Get Localization Data
This Node retrieves information about the current localization state.
- ⬆️ Output:
- CurrentLanguage (
string), the name of the currently selected language - CurrentLanguageCode (
string), the language code of the currently selected language - LanguageList (
List<string>), a list of all available language names.
- CurrentLanguage (
Get translation Node
🔍
Reflectis>Flow>Reflectis Localization: Get translation
This Node retrieves the translated string for a given localization key.
-
⬇️ Input:
- Key (
string), the localization key to look up.
- Key (
-
⬆️ Output:
- Translation (
string), the translated string for the given key.
- Translation (
Flow Nodes
Set Key Node
🔍
Reflectis>Flow>Reflectis Localization: Set Key
This Node sets the localization key on a Localization Placeholder component, updating its displayed text.
- ⬇️ Input:
- LocalizationPlaceholder (
LocalizationPlaceholder), reference to the Localization Placeholder component. If left empty, it defaults to the component on the same GameObject - NewKey (
string), the new localization key to assign (default:"").
- LocalizationPlaceholder (
Set Language Node
🔍
Reflectis>Flow>Reflectis Localization: Set Language
This Node changes the application language.
- ⬇️ Input:
- LanguageChoice (
string), the name of the language to switch to.
- LanguageChoice (
Event Nodes
On Language Changed
🔍
Events>Reflectis>Reflectis Localization: On Language Changed
This event triggers when the application language is changed.
- ⬆️ Output:
- CurrentLanguage (
string), the name of the newly selected language - CurrentLanguageCode (
string), the language code of the newly selected language - PreviousLanguage (
string), the name of the previous language - PreviousLanguageCode (
string), the language code of the previous language.
- CurrentLanguage (