Re: Local on GTK windows



Deekshit Mantampady writes:
  Here is the exact error message.
  Gtk-WARNING **: Locale not supported by C library.
  Using the fallback 'C' locale.

Yes, that message comes from GTK+. But it only means there is no
support for Malayalam in the Microsoft C library (i.e. in API like
strftime), it shouldn't affect GTK+'s own localization. You should
still be able to see GTK+'s messages translated.

This assumes you have a pango.aliases setting for "sans" that includes
a font that covers the required characters. Otherwise you get only the
"box" fallback glyphs. The default pango.aliases I distribute
unfortunately doesn't list a font that would cover Malayalam. Once you
add a font that covers the Malayalam script (for instance "kartika")
to the "sans" list, the colour selector shows Malayalam:



Tested on XP (English) by running gtk-demo from GTK+ 2.6 with the
environment variable LANG=ml.

In GTK+ 2.8 and/or Pango 1.10, for some reason the color selector
dialog doesn't appear (or actually, it appears off-screen...) This is
probably due to a bug in Pango related to font metrics on Win32.

--tml


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