Closed hzqst closed 3 years ago
Is it possible to detect the files in the caption mod folder? Let's say there are two dictionary files;
Maybe we can have a dropdownbox to change the language?
Is it possible to detect the files in the caption mod folder? Let's say there are two dictionary files;
- dictionary_english
- dictionary_german
Maybe we can have a dropdownbox to change the language?
You can't change language dynamically in GoldSrc while game is running. vgui2 in GoldSrc doesn't support re-initializing localized strings at runtime.
dictionary_%language%.txt
is supported now in 1da890604419d1abb9ef10f2d4372bf2776b29bd
Two commandargs has been added in baa1f90dca8120c33b4b731347de3466df58c43d :
-steamlang
: use Steam language as engine and vgui2 language, ignore game language setting in Steam's game config panel. for Sven Co-op, it always uses Steam language as engine and vgui2 language no matter if -steamlang
is added or not.
-forcelang [language]
: force engine and vgui2 to use [language]
, ignore game language setting in Steam's game config panel.
Tooltips :
engine language
: engine and filesystem will search files in SteamApps/Half-Life/[gamedir]_[language]/
at higher priority.
vgui2 language
: vgui2 will load localtization files whoose name is filename_[language].txt