libxfce4util i18n broken

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Thu Aug 7 11:34:34 CEST 2003


On Thu, 07, Aug 2003, Jasper Huijsmans wrote:

> > I think its a problem with your setlocale() implementation. Please try
> > the following program:
> > 
> > #include <locale.h>
> > int main() {
> >  setlocale(LC_ALL, NULL);
> > printf("LOCALE: %s\n", setlocale(LC_MESSAGES, NULL));
> > return 0; }
> > 
> > And tell me what that gives me for you LANG=<whatever> cases above.
> > 
> 
> [~]$ env | grep LC
> LC_NUMERIC=en_US
> LC_ALL=nl_NL at euro
> LC_MESSAGES=nl_NL at euro
> [~]$ ./locale_test 
> LOCALE: C

Yes, thats what I expected. Your libc does not know how to handle
nl_NL at euro. That says, libxfce4util is ok, but your LC_* vars are
wrong IMHO.

Try the <language>_<country>.<encoding> scheme please.

Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list