FWGS / mainui_cpp

Main menu UI toolkit for Xash3D FWGS engine
31 stars 36 forks source link

Translation of chapter titles #99

Closed StenApp closed 11 months ago

StenApp commented 11 months ago

I like to translate the level titles in the load/save menu. I see them in my language in titles.txt but in the menu they stay cryptic: image

should be

C0A0TITLE { ZIEL: BLACK MESA, ZENTRUM }

a1batross commented 11 months ago

titles.txt aren't used there, it's in the valve_english.txt file.

As for mods, mods can't get save names translated until the mod specifically supports it through undocumented callback in the DLL. :(

StenApp commented 11 months ago

That's why... I removed gamefoldername_language files.txt from resources subfolders. only use mainui_german.txt set to ui_language german. If i ad the chapter titles in mainui.txt it's getting translated. Opposing force uses a gearbox_english.txt with only english chapter titles. I have to translate this file then and save it as modfoldername_german.txt and put it in resource folder and set ui_language to german too.

StenApp commented 11 months ago

Ah now i see the confusion. I talked about the chapter titels displayed in the menu not the savegame name in SAVE folder. I don't care about the savegame names.