Commit graph

1 commit

Author SHA1 Message Date
73b67cd6ce feat(text): the race menu reads its texts from translation files
First step of moving every piece of text out of the code so modders can
translate the mod. The texts live in Translations/<Language>/*.json, one
file per kind of text, which Jotunn finds on its own and falls back to
English for. ModText reads them; values take Valheim's $1, $2 placeholders.

This step covers the race selection menu: title, buttons, every race's
name and description, in English and Italian. The race ID and the name on
screen are now separate strings. The ID is what the save and the ZDO hold,
so it must never be translated.

The files are deployed to plugins\RacesOfValheim\Translations and packed
into both release zips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 19:43:48 +02:00