Re: what value of $LANG is required for gtk-2.0?



The $LANG situation with GTK+-2.0 is simple:

 All strings in GTK+-2.0 are in UTF-8.

 To make sure that gettext does not convert UTF-8 message strings to
 something else, if you are using a gettext with
 bind_textdomain_charset(), you must call it:

===
#    ifdef HAVE_BIND_TEXTDOMAIN_CODESET
  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
#    endif
===

 Then, you have two options:

  - You can ship UTF-8 .po files

  - You can ship non UTF-8 .po files, but then you must require glibc-2.2 or 
    GNU gettext 0.10.36.

 For, GTK+, we chose the first option.

Regards,
                                        Owen




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