Re: [blfs-dev] firefox translations

2012-06-18 Thread Tobias Gasser
Fernando de Oliveira schrieb:
 --- Em dom, 17/6/12, Tobias Gasser escreveu:

i've read about your aproach searching with google too.


 At the end you have a localized firefox or thunderbird or xulrunner. Could 
 not do the same for seamonkey, though, for a long time.
i think my aproach is more flexible as i can add multiple translations
(i'm used to use german + french as these 2 are used here in CH near
basel), and give the user the choice.

i like to be able to switch to english - especially for debugging.
google has far more hits with the english.

what i am missing with firefox and thunderbird is automatic detection
which language should be used. most other packages chose the language by
$LANG (de_CH.UTF-8 or fr_CH.UTF-8), $LANGUAGE (de or fr) or $LC_ALL
(same as $LANG). the mozilla products require the
'general.useragent.locale' to be set and the language-plugin to be
activated.

tobias

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Andrew Benton
On Mon, 18 Jun 2012 10:37:14 +0100
Tobias Gasser l...@ebp-gasser.ch wrote:

 i think my aproach is more flexible as i can add multiple translations
 (i'm used to use german + french as these 2 are used here in CH near
 basel), and give the user the choice.

I also prefer the xpi method as the method for compiling with a
different locale seems to change a lot and often breaks. As I
understand it the locale files are just text/data with nothing compiled
from source code so it seems sensible to use xpis.

 what i am missing with firefox and thunderbird is automatic detection
 which language should be used. most other packages chose the language by
 $LANG (de_CH.UTF-8 or fr_CH.UTF-8), $LANGUAGE (de or fr) or $LC_ALL
 (same as $LANG). the mozilla products require the
 'general.useragent.locale' to be set and the language-plugin to be
 activated.

I find Thunderbird uses the correct dictionary if I set the environment
variable LC_TIME. EG:
export LC_TIME=en_GB.utf8

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Fernando de Oliveira
Em 18-06-2012 06:37, Tobias Gasser escreveu: Fernando de Oliveira schrieb:
 --- Em dom, 17/6/12, Tobias Gasser escreveu:
 
 i've read about your aproach searching with google too.

I believe it can be done to multiple languages(?)

 'general.useragent.locale' to be set and the language-plugin to be
 activated.

I like and use this other approach too. Just wanted people to be aware
of the other one.

Please, how do you access about:config in thunderbird to change
general.useragent.locale, without specific add-ons?

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Pierre Labastie
Le 18/06/2012 17:54, Fernando de Oliveira a écrit :
 Please, how do you access about:config in thunderbird to change 
 general.useragent.locale, without specific add-ons? 
I think you can find it in preferencesadvancedconfiguration editor. 
That's how it is under Debian (translated from French). The interesting 
thing is that general.useragent.locale is set to en-US, but all the 
buttons are in French...

Pierre

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Tobias Gasser
Pierre Labastie schrieb:
 Le 18/06/2012 17:54, Fernando de Oliveira a écrit :
 Please, how do you access about:config in thunderbird to change 
 general.useragent.locale, without specific add-ons? 
 I think you can find it in preferencesadvancedconfiguration editor. 

Edit - Preferences - Advanced - General - ConfigEditor

 That's how it is under Debian (translated from French). The interesting 
 thing is that general.useragent.locale is set to en-US, but all the 
 buttons are in French...

maybe built with the i10n-base set to french
as far as i can see, with the i10n-base the english default wont be
included unless you specify it.

tobias
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Tobias Gasser
Andrew Benton schrieb:

 I find Thunderbird uses the correct dictionary if I set the environment
 variable LC_TIME. EG:
 export LC_TIME=en_GB.utf8

not here : xulrun + firefox 13.0.1 / thunderbird 13.0.1

the spell-check is chosen in the settings-menu (thunderbird)

no matter which LC_xx variables i set, firefox and thunderbird dont
honor any of them. neither for the menues and text nor for the
spellchecker. (en is default, de + fr are loaded with xpi)


tobias



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Fernando de Oliveira
Em 18-06-2012 14:09, Pierre Labastie escreveu: Le 18/06/2012 17:54, Fernando 
de Oliveira a écrit :
 Please, how do you access about:config in thunderbird to change 
 general.useragent.locale, without specific add-ons? 
 I think you can find it in preferencesadvancedconfiguration editor. 
 That's how it is under Debian (translated from French). The interesting 
 thing is that general.useragent.locale is set to en-US, but all the 
 buttons are in French...
 
 Pierre
 

Thank you, Pierre!

Long, very long, ago, I remember seeing that. Couldn't remember now nor
find without your help.

I was not precise in my previous mail: always try FF with pt-BR compiled
with source. When this fails, I use the .xpi. The same with other
{mo,gnu}zilla packages.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] firefox translations

2012-06-18 Thread Fernando de Oliveira
Em 18-06-2012 20:43, Tobias Gasser escreveu:
 Pierre Labastie schrieb:
 Le 18/06/2012 17:54, Fernando de Oliveira a écrit :
 Please, how do you access about:config in thunderbird to change 
 general.useragent.locale, without specific add-ons? 
 I think you can find it in preferencesadvancedconfiguration editor. 
 
 Edit - Preferences - Advanced - General - ConfigEditor

Thank you, Tobias!

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page