On Sat, May 05, 2007 at 05:15:09PM -0700, Mark K. Kim wrote:
> Even if setlocale() fails, you can just set the environment variable to
> force the locality's output in gettext(). I believe setlocale() is just
> used to make the system responses use the selected locale (ie, make
> perror() print error messages in the selected language, make date()
> default to selected locale output format, etc.) Since Tux Paint makes
> minimal use of glibc for such text formatting, I think we could just
> force-set the locale by setting the environment variable if that makes
> more sense from the user's perspective.
I think it makes sense, yeah.
In other words, you're saying: Tux Paint can switch to any locale _it_
supports, regardless of the locales available system-wide...?
-bill!
(running on ~4.5 hrs sleep :^( )
|