Details

Last Updated
3 years ago
First Uploaded
3 years ago
Downloads
1.7K
Likes
0
Size
13KB
Dependency string
Zeprus-LocalizationLib-1.0.0
Dependants

LocalizationLib

A BepInEx library for 20 Minutes Till Dawn.
Programmatically manage Localizations in 20 Minutes Till Dawn.


Documentation

static class LocalizationProvider

  • static Dictionary<LocalizationSystem.Language, Dictionary<string, string>> LocalizationDict { get; }

    Contains all localization dictionaries from flanne.LocalizationSystem

  • static bool AddLocalization(LocalizationSystem.Language language, string key, string value)

    Adds a localization string to the target language if it does not yet exist.

  • static bool AddLocalizationAll(string key, string value)

    Adds a localization string to all languages if it does not yet exist.

  • static string GetLocalization(LocalizationSystem.Language language, string key)

    Returns a localized string of the target language.

  • static Dictionary<LocalizationSystem.Language, string> GetLocalizationAll(string key)

    Resturns all localizations of a string.

  • static void SetLocalization(LocalizationSystem.Language language, string key, string value)

    Adds or overwrites a localization string to the target language.

  • static void SetLocalizationAll(string key, string value)

    Adds or overwrites all localizations of a string.

  • static Dictionary<string, string> GetLanguageDictionary(LocalizationSystem.Language language)

    Returns the localization dictionary of a specific language.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.