• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Change Existing Localization Text With New Text?

junrall

New member
If I have a modlet that requires changing some of the existing localization text, how do I go about it?

I've tried adding a localiazation.txt within my mod's config folder with the changes.

For instance, the following line is in the vanilla localization file:

quest_BasicSurvival8_subtitle,Quest,Quest Info,,,Build a Campfire,,Mache ein Lagerfeuer,Enciende una fogata.,Construire un feu de camp,Costruisci un falò,キャンプファイヤーをおこす,캠프파이어 건설,Zbuduj ognisko,Faça uma Fogueira,Сложить костер,Kamp Ateşi Yak,点燃篝火,生營火




I want to change "Build a Campfire" to "Build a Firepit"

I tried adding the following line to my localization file but this did not work:

quest_BasicSurvival8_subtitle,Quest,Quest Info,,,Build a Firepit,,Mache ein Lagerfeuer,Enciende una fogata.,Construire un feu de camp,Costruisci un falò,キャンプファイヤーをおこす,캠프파이어 건설,Zbuduj ognisko,Faça uma Fogueira,Сложить костер,Kamp Ateşi Yak,点燃篝火,生營火




I know I can just do the following in xml  using xpath but, I sure would like to know how to do the same via the localization file:

<!-- <property name="subtitle_key" value="quest_BasicSurvival2_subtitle"/> -->
<property name="subtitle" value="Craft A Firepit"/>




Thanks in advance for any guidance!

 
It works, might want to check your changes to see if you made a mistake or if it is not loading correctly

This is what I did in one of my mod localization files

quest_BasicSurvival8_subtitle,Quest,Quest Info,,,Build a FirePit,,,,,,,,,,,,,




This is what I saw in-game

image.png

 
Last edited by a moderator:
Back
Top