changing default instalation language

c. helder helder1986 at gmail.com
Fri Nov 21 07:42:56 EST 2008


Luckily I have written: en_US.UTF-8. It has worked.

But not all is in en_US language. I think it ins't possible with a
plugin because it don't work in execution time. Must I modify the
above function of gntmain.c?

void gnt_init()
{
	char *filename;
	const char *locale;

	if (channel)
		return;
	
	locale = setlocale(LC_ALL, "");

	setup_io();
}

Thanks!

2008/11/21, c. helder <helder1986 at gmail.com>:
> If I put in a pidgin plugin:
> *char *lang = setlocale(LC_ALL, "en_US");*
> ... it return a NULL pointer. It means that it hasn't worked.
>
> Futhermore, if I write in the terminal:
> * [user at host ~]$ LANG=en_US pidgin*
> ... it return:
> *(pidgin:11665): Gtk-WARNING **: Locale not supported by C library.
> *
> *Using the fallback 'C' locale.*
>
> Some help please!
>
>
> 2008/10/20 c. helder LANG=en-US pidgin<helder1986 at gmail.com>
>
>> Thank you. I am doing a plugin to change the default instalation language.
>> But plugins code is the lastest that pidgin load. Then I think this
>> solution
>> don't work for me. Thanks again ;)
>>
>>
>> 2008/10/17 Diego Nieto Cid <dnietoc at gmail.com>
>>
>> 2008/10/12 c. helder <helder1986 at gmail.com>:
>>> > I don't like the pidgin's spanish traduction. I want to change it to
>>> > english. Is it possible in linux?
>>> >
>>>
>>> One way of doing that should be by starting pidgin with an english
>>> value for LANG environment variable. Like this,
>>>
>>> [user at host ~]$ LANG=en-US pidgin
>>>
>>> I don't know if there is a configuration value for setting the
>>> interface language. So, I will let others to  give further details on
>>> that approach.
>>>
>>> Regards,
>>> diego
>>>
>>
>>
>




More information about the Devel mailing list