Landry Breuil wrote:

> On Wed, Jun 27, 2012 at 02:55:55PM +0200, Remco wrote:
>> I installed firefox 13.0.1 on OpenBSD 5.2-beta and, apart from installing
>> the appropriate firefox-i18n package and changing
>> "general.useragent.locale", I had to manually enable the language of
>> choice in the browser. (I don't remember doing that ever before) I'm
>> wondering if the following patch to the MESSAGE file of the firefox-i18n
>> package makes sense.
>> 
>> Of course, if firefox is already configured for a language other than
>> English, the words "Tools -> Add-ons -> Languages" will be displayed in
>> that other language, which may or may not be confusing. I don't know how
>> to deal with that, if needed.
> 
> They way it is now, if you install a firefox-i18n package firefox will
> ask you at next restart if you want to enable the new extension. We can
> add more blurb to MESSAGE, but to me the current state might be enough..
> 
> Landry
> 

I checked that and you're right when firefox-i18n-xx gets installed after
firefox has been used before.

However, when installing firefox and firefox-i18n-xx first and then starting
firefox for the first time, I don't see a reminder to enable language
add-ons. (I suppose it doesn't consider this situation a newly added
language) It's not a terrible big deal, but in this case I think a reminder
in the MESSAGE file is useful. (it feels like the MESSAGE file is telling
only half the story in this situation)

I reworded my initial patch a bit to avoid mentioning menu items in a
specific language:

Index: pkg/MESSAGE
===================================================================
RCS file: /cvs/ports/www/firefox-i18n/pkg/MESSAGE,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 MESSAGE
--- pkg/MESSAGE 25 Jun 2006 21:25:44 -0000      1.1.1.1
+++ pkg/MESSAGE 28 Jun 2012 08:34:51 -0000
@@ -1,3 +1,4 @@
 To configure Firefox for your language, type "about:config" in the URL
 bar and edit "general.useragent.locale" (e.g. fr-FR ; default is en-US),
+check that your language is available and enabled in the language add-ons,
 then restart Firefox.

>> Index: pkg/MESSAGE
>> ===================================================================
>> RCS file: /cvs/ports/www/firefox-i18n/pkg/MESSAGE,v
>> retrieving revision 1.1.1.1
>> diff -u -r1.1.1.1 MESSAGE
>> --- pkg/MESSAGE      25 Jun 2006 21:25:44 -0000      1.1.1.1
>> +++ pkg/MESSAGE      27 Jun 2012 12:21:16 -0000
>> @@ -1,3 +1,4 @@
>>  To configure Firefox for your language, type "about:config" in the URL
>>  bar and edit "general.useragent.locale" (e.g. fr-FR ; default is en-US),
>> +enable your language in "Tools -> Add-ons -> Languages",
>>  then restart Firefox.
>>


Reply via email to