Support different languages - how? Created 7 years ago2017-09-07 09:15:17 UTC by Dallas Dallas

Created 7 years ago2017-09-07 09:15:17 UTC by Dallas Dallas

Posted 7 years ago2017-09-07 09:15:17 UTC Post #337340
hello, does anyone know how to set up support for different languages in a goldsource mod?

Testing the steam install differnt languages of HL 1, I can see that the directory structure is something like this:

half-life/moddirectory/ (normal mod directory)
half-life/moddirectory_russian/ (contains localized russian files, all with filename_russian)

ex: half-life/moddirectory_russian/resource/gameui_russian.txt

What I don't understand is once you add some files into a folder like:

half-life/moddirectory_languagename/resource/gameui_languagename.txt

is how do you get the game to launch and actually use the localized language files? Is there a launch command to set the language??

or, does anyone have an example of a mod that has supported multiple languages?

Thanks for any help.

p.s. this page give lots of details of the file loading order for goldsource, but it doesn't describe how to "turn on" a localized folder for a mod:

https://developer.valvesoftware.com/wiki/GoldSource_SteamPipe_Directories
Posted 7 years ago2017-09-07 09:29:15 UTC Post #337341
Possibly it uses the language you've set in Steam - not sure, and off the top of my head I'm not sure if you can choose a language for a mod through Steam.
Posted 7 years ago2017-09-07 10:36:36 UTC Post #337342
Posted 7 years ago2017-09-07 11:01:29 UTC Post #337343
Interesting. Thanks for the help and the code link.

I wonder if there is a list somewhere of what naming convention steam will need for the different languages to localize HL1.

Such as _russian _italian etc...

I'll keep digging. :)
Posted 7 years ago2017-09-07 12:15:10 UTC Post #337344
This should be the complete list: https://partner.steamgames.com/doc/store/localization#supported_languages

The rest of the page has additional information about Steam localization.
Posted 7 years ago2017-09-07 13:08:18 UTC Post #337345
That is exactly what I needed. Thank you kind husky dog. :)
You must be logged in to post a response.