
You are viewing a potentially older version of this package. View Latest Version

Localization is a BepInEx plugin for Valheim that translates hardcoded mod text at the final UI layer.
TMPro.TMP_Text and UnityEngine.UI.Text.BepInEx/config/com.paxton0505.localization/<LanguageCode>/*.json.English/*.json as an optional shared baseline.Chinese_Trad/.{
"exact": [
{
"match": "Item is favorited and won't be stored",
"replace": "物品已被收藏,不會被存放"
},
{
"match": "Slot is favorited and won't be stored",
"replace": "格位已被收藏,不會被存放"
}
],
"templates": [
{
"match": "Found {{$count}} items matching '{{$query}}' in nearby containers.",
"replace": "在附近容器中找到 {{$count}} 個符合「{{localize($query)}}」的物品。"
},
{
"match": "<color=red>No items matching '{{$query}}' found in nearby containers.</color>",
"replace": "<color=red>在附近容器中找不到符合「{{localize($query)}}」的物品。</color>"
},
{
"match": "Stored {{$total}} items from your inventory into nearby containers",
"replace": "已將 {{$total}} 個物品從你的背包存放到附近容器中"
},
{
"match": "<color=red>{{$itemName}} [{{$prefabName}}] is not in nearby containers</color>",
"replace": "<color=red>附近容器中沒有 {{localize($itemName)}} [{{$prefabName}}]</color>"
},
{
"match": "<color=red>{{$itemName}} [{{$prefabName}}] cannot be stored based on configuration settings</color>",
"replace": "<color=red>根據設定,無法存放 {{localize($itemName)}} [{{$prefabName}}]</color>"
},
{
"match": "AzuAutoStore Installed: {{$localVersion}}\n Needed: {{$remoteVersion}}",
"replace": "已安裝 AzuAutoStore:{{$localVersion}}\n需要版本:{{$remoteVersion}}"
}
]
}
English/ is optional and acts as a shared baseline.{{localize($name)}} resolves through the plugin's exact rules first and then the game's own localization.These screenshots use local package assets, so they work in Thunderstore without external links.

