LocalizationLib
A BepInEx library for programmatically managing localizations in 20 Minutes Till Dawn.
About this mod Author’s original text
LocalizationLib
A BepInEx library for 20 Minutes Till Dawn.
Programmatically manage Localizations in 20 Minutes Till Dawn.
Documentation
static class LocalizationProvider
- ### static Dictionary> 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 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 GetLanguageDictionary(LocalizationSystem.Language language)
Returns the localization dictionary of a specific language.
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: