Use this mod to add own language to the game
Allows you to add new languages to the game. You can stack couple mods with code of this one they will add multiple languages.
TranslationTemplate
to your mod nameTo get Loc.csv you can download Renamer and use console command ExportLocalizationToCSV. Downloaded file will be located in
...Steam\steamapps\common\Raft\mods\ModData\Renamer\NameOfTheFile.csv
. After you get file you must rename it toLoc.csv
and delete all columns exceptKey
Type
Desc
English
. You can tho delete English, but it would be hard to translate without it. Create column for your language and write in first rowWhatever you want [languageKey]
Whatever you want
- will appears as language name in game menulanguageKey
- you must get it in https://en.wikipedia.org/wiki/ListofISO639-1codes for your language It should look like this:Беларуская [be]
For editing columns easily you can use VSCode with extension Edit csv or web version of Edit csv here. I only used VSCode version. And after you done withLoc.csv
file you can put it into mod folder. Put mod author (yourself) and description inmodinfo.json
and compile mod usingbuild.bat
.
Be sure to save everything before compiling!
I hope my explanation isn't too bad. Contact with me in Discord - damglador
if you need help. Or ask someone on Raft Modding Discord server.
There is also a possibility to add normal fonts to the translation, but you need to have someone create them. You can do something with fonts that's already in game using lines in translation file:
Description last changed on 2023-06-27