From: Brendan L. <bm...@ri...> - 2010-07-13 17:29:36
|
Hi Tim, Holger, > > Any interest in adding this challenge to your own TODO pile? At least it > > would give you some new functionality to implement and test... > > Certainly! Of course, the boring stuff needs to be finished first... > Actually, a --lang switch would be great, but equally great would be to > read > the environment variables being set, to automatically select the right > language. > Well, I guess the switch would override the EV...that's simple enough. What I'm not sure of is: how to accomplish this with gettext and friends at runtime. Actually, I don't even know what else is affected by i18n in the games, other than translated strings. Time to do some reading :) While we're sort-of on the subject, one thing I'm noticing is that only --debug-xxx flags are actually handled by libt4k_common; other common things like --windowed, --nosound and such are all handled separately. Even worse is that some of the key events, like F10 to switch resolution, are being handled in 5 or so different places. I think it'd be a good idea to centralize some of these eventually, too. Best, Brendan |