Modnet-LocalizationPatcher icon

LocalizationPatcher

Dynamic Harmony fallback translation patcher for hardcoded mod strings and UI tokens

Last updated 21 hours ago
Total downloads 33
Total rating 0 
Categories Tools Language Utility AI Generated
Dependency string Modnet-LocalizationPatcher-1.0.3
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

Aethelgard Localization Patcher

A lightweight Harmony-based translation fallback patcher for Valheim mods.

What does it do?

Many mods (like Valheim Legends and older plugins) hardcode their ability names, descriptions, and UI text as raw C# string literals (without the $ token prefix). This prevents standard Jotunn/Valheim localization JSON dictionaries from translating them.

This plugin intercepts Localization.Localize and Localization.Translate calls at runtime, checking custom translation dictionaries in BepInEx/config/Translation/Russian/*.json for direct string matches.

Example Dictionary Format

Place your translations into BepInEx/config/Translation/Russian/ru_legends.json:

{
  "language": "Russian",
  "words": {
    "Fireball": "Огненный шар",
    "Frost Nova": "Кольцо холода",
    "Meteor": "Метеорит",
    "Berserk": "Неистовство",
    "Valkyrie": "Валькирия",
    "Mage": "Маг"
  }
}