LocalizationLib

v1.0.0·Updated 2022-06-28

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

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. 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.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. 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.

Dependencies

Install these first, or the mod will not work:

BepInExPackMTD-BepInExPack_20MTD

File & checksum

Filename
LocalizationLib-1.0.0.zip
File size
12.7 KiB
SHA-256
e43b44ce9f5c5a1493bc8be3961f06144ca3e04e953dc78086791f0c7be9d363
Stored at
2026-10-12 00:56