Re: locale, gui vs command line question?



On Tue, Feb 02, 2010 at 09:58:27AM +0000, james morris wrote:

So what's the point of having a setlocale function which can tell you
the locale in use and/or set a new locale to use if this stuff is going
to be stored in cache and read/write of locale settings is going to
break the library and your program?

Or are you saying the libraries (gtk/mpfr/stdc) I'm using may be caching
the locale and may not heed my changes?

Since Gtk+ does not have any mechanism to rebuild the UI when a locale
category changes, either you implement such mechanism or, more often,
put up with it and accept the locale does not change.  Then, of course,
caching is not a problem.

Yeti




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]