gettext problem (was Re: desktop-file-utils port problem)

Andrey Chernov ache at FreeBSD.org
Thu Mar 22 13:01:30 UTC 2007


On Thu, Mar 22, 2007 at 03:43:05PM +0300, Andrey Chernov wrote:
> There is still some undercover gettext problems remains although not 
> fatal.
> update-desktop-database -v
> running with ru_RU.KOI8-R says at the end
> Could not create cache file in directory '/usr/share/applications':
>         ????????? ?????? ??? ???????? ???????? "/usr/share/applications": 
> No such file or directory
> Which with LANG=C means 
> Could not create cache file in directory '/usr/share/applications':
>         Error opening directory '/usr/share/applications': No such file or 
> directory
> All those ???? means that locale is not initialized and those chars are 
> treated as non-printable.

Compare with de_DE.ISO8859-1:
Could not create cache file in directory '/usr/share/applications':
        Fehler beim ?ffnen des Verzeichnisses ?/usr/share/applications?: No 
such file or directory
As you can see, only 8bit chars are affected and treated as non-printable 
(Russian ones all have 8bit)

Besides from non-initialized locale (i.e. missing setlocale(LC_ALL,"") call 
somewhere) it can be due to conversion into UTF-8 new gettext attempt to 
perform for some locales by criteria unknown.

-- 
http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070322/946556f8/attachment.pgp


More information about the freebsd-gnome mailing list