[haiku-development] Re: Two new files to root/haiku/trunk/src/data/locale/languages

  • From: Jorma Karvonen <karvonen.jorma@xxxxxxxxx>
  • To: haiku-development <haiku-development@xxxxxxxxxxxxx>
  • Date: Sat, 20 Mar 2010 00:34:39 +0200

Those files are used by langinfo, I think, but they do not work
because of missing implementation in langinfo.cpp file (among others).
It should be fixed by the following ways:

char *
nl_langinfo(nl_item id)
{
        char *ret = "";
        if (be_locale != NULL)
                ret = be_locale->GetString(id);

        if (*ret)
                return ret;
        return (char*)"";
}

This is an open case in Trac, I think.

Best regards,

Jorma K.

2010/3/19 PulkoMandy <pulkomandy@xxxxxxxxx>:
> Mh... these files are actually useless and left over from the
> opentracker days. I forgot to remove them. ICU is now taking care of
> all this.Sorry !
>
> --
> Adrien
>
>

Other related posts: