Re: desktop files and locale aliases



Hi,

>>>>> On Mon, 22 Feb 1999 22:38:45 -0600
>>>>> Miguel de Icaza <miguel@nuclecu.unam.mx> said:

 Miguel> The problem we face is: does gettext provide a way to go from
 Miguel> the LANG environment variable to the actual locale name?

Probably not in an official/portable form. But GNU libc provides
_nl_expand_alias() which should do this. This function is also in GNU
gettext's intl/localealias.c.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>



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