You are viewing a potentially older version of this package. View all versions.
Modnet-LocalizationPatcher-1.0.0 icon

LocalizationPatcher

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

Date uploaded a day ago
Version 1.0.0
Download link Modnet-LocalizationPatcher-1.0.0.zip
Downloads 6
Dependency string Modnet-LocalizationPatcher-1.0.0

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": "Маг"
  }
}