
YAPYAP
You are viewing a potentially older version of this package. View Latest Version

Utility mod for adding localized text to the game!
This utility mod is designed for mod developers to make adding new localizations quick and easy!
ModLocalizedText and ModLocalizedPhraseSimply define a key and any translations you'd like to add.
Example:
.SetLocalization(SystemLanguage.English, "Test");
TEST_LOCAL_KEY to Test when the game language is set to english.NOTE: If you do not set any translations, the LocalizationKey will be displayed instead.
An Optional fallbackResult can be defined that will be displayed when localization fails.
Define a key and any translations you'd like to add. Constructor takes a "Default Command" for when localization fails.
Example:
.AddLocalization(SystemLanguage.Italian, ["cane", "alto"]);
UP DOG's localization values.UP EASE unless otherwise specified via AddLocalization