World of Banished

MODS Garage => Mod Talk => Topic started by: littbarski on June 17, 2025, 06:05:42 AM

Title: can I change small parts of the translation or exlude some words?
Post by: littbarski on June 17, 2025, 06:05:42 AM
hello,

I have learned a bit how to use the Mod Toolkit, so I wondered a bit about the following.
I use a translated version, but sometimes I would like to change the translation (not because it is wrong, but just for me, so no need to change the translation mod pkm), or some very few words are not translated at all yet. I tried to change the pkm in HxD which does not work of course.

My idea is: can I perhaps exlude a word in the relevant string rsc from translation? So tell the Banished program or the translation mod to not translate this word? I thought about a line in the string rsc or similar.

I had tried to put an own translation directly into the rsc string file and even changes the Tip-string, but then nothing is displayed at all.

thank you

PS: Of course this would only work if I know the structure or have the rsc file where the string is defined, but if I actually have it, the question is still there if in a string table there is any chance to put in a UI word that will not be translated afterwards.
Title: Re: can I exclude some word from the translation?
Post by: littbarski on June 18, 2025, 05:45:23 AM
Perhaps asked in another way. Some new mods are probably not all translated (or one would like to change a translated word just for personal taste, not because it is wrong and needs to be changed in the translation-mod).

Can I create an override translation mod my self by only including the changes?
I would create a package.rsc with only 1 file dependend, the dialog/stringtable.rsc.

in the stringtable.rsc I would include for example only this:

StringTable modname (would have to guess)
{
Entry _strings
[
{ String _name = "word1"; String _text = "mytranslation1"; }
{ String _name = "word2"; String _text = "mytranslation2"; }
{ String _name = "wordTip1"; String _text = "mytranslation3"; }
]
}

In this the right direction, or can I simply not add only a part of strings?
Title: Re: can I change small parts of the translation or exlude some words?
Post by: RedKetchup on June 18, 2025, 06:18:04 AM
i never been into translation mods, i never look at it. some poeple did but no idea if they still hanging around in here. i always passed on the subject i did let other people taking care of it.
Title: Re: can I change small parts of the translation or exlude some words?
Post by: littbarski on June 19, 2025, 01:03:53 AM
well at least I understood now how to create a translation file :).

And I think it works, when I create a MODNAMEstringtable.rsc and then a package.rsc that loads it.
Of course the complete part of the stringtable is then always replaced, not possible to change a single word, but this is a good start.

But of course this only works when you have the original stringtable.