Hpfm2 Posted September 27, 2013 Share Posted September 27, 2013 So I was wondering... I was browsing the steam workshop and found out some cool character mods. I thought, "hey, it's so easy to install, why not." Now, here's the deal. I use my own language pack in the game. But the mods text are in english! So its a bit confusing. Obviously, I can just turn my pack off. But I was wondering if there's a way to translate mods: as some sort of add-on? Link to comment Share on other sites More sharing options...
TheDanaAddams Posted September 27, 2013 Share Posted September 27, 2013 I've never tried to translate anything, since the only language I speak fluently is English... but I believe it should be as simple as adding a mod that translates all the strings and speech and such, and use priority to make it load after everything else.(I can't remember how to set priority, but I know it's not difficult - just one line in modmain, I believe. Link to comment Share on other sites More sharing options...
Kappa Posted September 27, 2013 Share Posted September 27, 2013 Hi,very often, the character mod has "speech_*.lua" file in his script/ directory. If you want to make translation mod for that, you can copy this file into your mod folder under script/ directory (create it if you dont have it yet) and translate it there.After that, look into modinfo.lua of translated character mod and find "priority=[number]" line, then write lower number into your modinfo.lua file, so your file will always override characters "scpeech_*.lua" file. Link to comment Share on other sites More sharing options...
Hpfm2 Posted September 27, 2013 Author Share Posted September 27, 2013 Boy. that's a lot of words I don't understand. I'm pretty sure I can figure it out, though Link to comment Share on other sites More sharing options...
TheDanaAddams Posted September 27, 2013 Share Posted September 27, 2013 Boy. that's a lot of words I don't understand. I'm pretty sure I can figure it out, though The simplest way to explain it would be that if the mod you want to translate hasGLOBAL.STRINGS.CHARACTERS.MOD.DESCRIBE.EVERGREEN = "Yep... that's a tree."in the modmain.lua file... you could make your OWN mod that just hasGLOBAL.STRINGS.CHARACTERS.MOD.DESCRIBE.EVERGREEN = "Oui... c'est un arbre." and using the loading priority to ensure it is always loaded after the mod you're translating (I believe the default is "0" and few modders need to change it) it will replace the text with the translated version. If the English mod had a priority of 3, you could set the translation's priority to 4, and then it will load afterwards, thus overwriting all the text with the translated version. Hope that made sense. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.