[Scummvm-devel] Translation support was added to ScummVM
Jordi Vilalta Prat
jvprat at jvprat.com
Fri Jun 25 00:06:08 CEST 2010
Hi,
2010/6/20 Marcus Comstedt:
> How is the initial language chosen (I assume you can change language
> with the GUI once it starts)? It would be neat if I could make the
> Dreamcast port start the GUI in the same language as is configured for
> the builtin menus.
Currently the system language is detected in the TranslationManager()
constructor (common/translation.cpp) when USE_DETECTLANG is defined.
Right now your port (and probably several others) can set _syslang
there. Anyway I propose adding getSystemLocale() to OSystem (returning
"C" in the base implementation). Maybe this could also be used in the
future to try to automatically select the default language when adding
multi-language games.
Regards,
Jordi
More information about the Scummvm-devel
mailing list