Skip to content

Custom Language Localization

Quentin E. / iDeath edited this page Mar 25, 2021 · 1 revision

The game localization file looks like this : https://cdn.discordapp.com/attachments/814107812166238249/824705133258473472/Localization.7z

Snippet :

Context,English,Abenaki,Bulgarian,Chinese,Croatian,Czech,Danish,Dutch,Estonian,Finnish,French,Georgian,German,Greek,Hindi,Hungarian,Icelandic,Italian,Japanese,Korean,Lithuanian,Macedonian,Norwegian,Polish,Portuguese,Portuguese_Brazilian,Romanian,Russian,Serbian,Slovak,Spanish,Swedish,Thai,Turkish,Ukrainian
// NOTE Language translations should only use the English column. We don't translate the language names since we want them to always display in their native language,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_english,English,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_swedish,Svenska*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_french,Français,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_italian,Italiano*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_german,Deutsch,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_spanish,Español,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_russian,Русский,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_romanian,Romanian*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_bulgarian,български*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_macedonian,македонски*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_finnish,Suomi*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_danish,Dansk*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_icelandic,íslenska*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_turkish,Türkçe,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_lithuanian,Lietuvių kalba*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_czech,Čeština*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_hungarian,Magyar*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_polish,Polski,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_dutch,Nederlands,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_greek,Ελληνικά*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_ukrainian,українська,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_portuguese,Português europeu*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_portuguese_brazilian,Português (Brasil),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_chinese,中文,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_japanese,日本語,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_korean,한국어,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_norwegian,Norsk*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_slovak,Slovenčina*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
language_thai,ไทย*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
menu_startgame,Start Game,Môja bapi,Старт,开始游戏,Započni Igru,Začít hru,Start spillet,Start Spel,Start Game,Aloita Peli,Lancer une partie,თამაშის დაწყება,Spiel starten,Έναρξη Παιχνιδιού,शुरू करें,Játék indítása,Hefja leik,Inizia il gioco,ゲームスタート,게임 시작,Pradėti žaidimą,Започни игра,Start spill,Rozpocznij grę,Começar o jogo,Iniciar Jogo,Joc nou,Начать игру,Započni igru,Začať Hru,Empezar partida,Starta Spel,เริ่มเกม,Oyuna Başla,Розпочати

Custom .language file that goes into Bepinex/plugins folder : MyCustomLanguageFile.language :

Context,English,French
custom_token_number_one,Value that is displayed for the english language,Value that is displayed for the french language.
menu_startgame,Play the freaking game !, Joue au jeu !!!

Here in this file i'm adding a totally custom token called custom_token_number_one And in the last line i'm overwriting the menu_startgame token

Now in the main menu screen it'll show Play the freaking game ! for the English language, and the other is for the French language

Requires ValheimLib to be installed for the files to work

Clone this wiki locally