Quantcast

www/firefox and mail/thunderbird localization

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

www/firefox and mail/thunderbird localization

Olivier Smedts
Hello,

Has anything changed recently regarding Firefox and Thunderbird
localization / global extensions ?

Since Firefox 10.0 I don't have localized menus anymore.
% ls /var/db/pkg/ | grep firefox
firefox-10.0.1,1
firefox-i18n-10.0.1
% grep 'WITH_' /var/db/ports/firefox-i18n/options
WITH_LANG_FR=true
% grep 'general.useragent.locale' ~/.mozilla/firefox/*.default/prefs.js
user_pref("general.useragent.locale", "fr-FR");

But Firefox still has english menus. It has been working since Firefox
3 through Firefox 9, and the localization stopped working with Firefox
10.0. It did not come back with Firefox 10.0.1. The same thing applies
for Thunderbird 10. I also tried with the switcher extension, no luck.
Tried with a new profile, with different values (like "fr" only) for
general.useragent.locale, with 'firefox -UILocale "fr-FR"' or 'firefox
-UILocale "fr"'... nothing made it. I found no xpi, they seem to be
extracted.

% find /usr/local/ -name \*.xpi | wc -l
       0
% ll /usr/local/lib/xpi/
total 1
drwxr-xr-x   3 root  wheel   5 14 fév 12:37 [hidden email]
drwxr-xr-x   3 root  wheel   5 14 fév 12:38 [hidden email]
drwxr-xr-x   7 root  wheel  11 14 fév 12:17 [hidden email]
drwxr-xr-x  12 root  wheel  12 14 fév 12:38 symlinks

Any advice ?

Thanks

--
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: [hidden email]        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Oliver Heesakkers-6
Op ma 20 feb 2012 17:50:17 schreef Olivier Smedts:
> Hello,
>
>
> Since Firefox 10.0 I don't have localized menus anymore.
> (...)
> Any advice ?

http://lists.freebsd.org/pipermail/freebsd-ports/2012-February/072850.html
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Olivier Smedts
2012/2/20 Oliver Heesakkers <[hidden email]>:
> Op ma 20 feb 2012 17:50:17 schreef Olivier Smedts:
>> Hello,
>>
>>
>> Since Firefox 10.0 I don't have localized menus anymore.
>> (...)
>> Any advice ?
>
> http://lists.freebsd.org/pipermail/freebsd-ports/2012-February/072850.html

First, hello. Then, I already saw that, but what's the point of
installing a global extension (the localization) if each user has to
install the *distfile* xpi (read: not an xpi installed by the
firefox-i18n port in /usr/local/lib/xpi/, but the xpi fetched by the
port in /usr/ports/distfiles/) in his Firefox profile ?

To resume, the www/firefox-i18n port does not work any more, at least
for the "fr-FR" locale, at least on two different computers I own, and
at least one some other computers owned by others individuals who seem
to be using other locales. While it's broken, a workaround is to
manually install the french localization from the mozilla website. But
what can be done to repair the port or help debug this ?

Cheers

--
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: [hidden email]        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Hiroto Kagotani
Hi

> To resume, the www/firefox-i18n port does not work any more, at least
> for the "fr-FR" locale, at least on two different computers I own, and
> at least one some other computers owned by others individuals who seem
> to be using other locales. While it's broken, a workaround is to
> manually install the french localization from the mozilla website. But
> what can be done to repair the port or help debug this ?

For Linux, someone seems to have solved the problem.
http://www.pclinuxos.com/forum/index.php/topic,102212.msg871107.html#msg871107
But I don't know what he actually did.

--
Hiroto Kagotani
<[hidden email]>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Olivier Smedts
2012/2/21 Hiroto Kagotani <[hidden email]>:

> Hi
>
>> To resume, the www/firefox-i18n port does not work any more, at least
>> for the "fr-FR" locale, at least on two different computers I own, and
>> at least one some other computers owned by others individuals who seem
>> to be using other locales. While it's broken, a workaround is to
>> manually install the french localization from the mozilla website. But
>> what can be done to repair the port or help debug this ?
>
> For Linux, someone seems to have solved the problem.
> http://www.pclinuxos.com/forum/index.php/topic,102212.msg871107.html#msg871107
> But I don't know what he actually did.

Thanks. It's maybe related to this : "FF10 has a nice new security
feature which prevents the automatic installation... ".

And some users workaround the problem by installing the mozilla's xpi
in their profile. But that's not how a global extension should work.

Some help from the gecko team ? :)

--
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: [hidden email]        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Boris Samorodov-2
On 21.02.2012 16:59, Olivier Smedts wrote:

> Some help from the gecko team ? :)

It was not a success for me:
http://lists.freebsd.org/pipermail/freebsd-gnome/2012-February/026907.html

--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Beat Gaetzi
2012/2/21 Boris Samorodov <[hidden email]>:
> On 21.02.2012 16:59, Olivier Smedts wrote:
>
>> Some help from the gecko team ? :)
>
>
> It was not a success for me:
> http://lists.freebsd.org/pipermail/freebsd-gnome/2012-February/026907.html

Well gecko@ is not the same as gnome@ ;)

Its's one of my open tasks but unfortunately I only have limited access to
the internet at the moment and I'm still suffering from a concussion so
it probalby take some days until I can take a look at it. But in the
meantime patches are very welcome.

Beat
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Boris Samorodov-2
On 21.02.2012 19:44, Beat Gaetzi wrote:

> 2012/2/21 Boris Samorodov<[hidden email]>:
>> On 21.02.2012 16:59, Olivier Smedts wrote:
>>
>>> Some help from the gecko team ? :)
>>
>>
>> It was not a success for me:
>> http://lists.freebsd.org/pipermail/freebsd-gnome/2012-February/026907.html
>
> Well gecko@ is not the same as gnome@ ;)

My bad, sorry!

> Its's one of my open tasks but unfortunately I only have limited access to
> the internet at the moment and I'm still suffering from a concussion so

Hope you'll recover soonish.

> it probalby take some days until I can take a look at it. But in the
> meantime patches are very welcome.

--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: www/firefox and mail/thunderbird localization

Beat Gaetzi
In reply to this post by Olivier Smedts
On Feb 20, 2012, at 5:50 PM, Olivier Smedts wrote:

> Hello,
>
> Has anything changed recently regarding Firefox and Thunderbird
> localization / global extensions ?
>
> Since Firefox 10.0 I don't have localized menus anymore.
> % ls /var/db/pkg/ | grep firefox
> firefox-10.0.1,1
> firefox-i18n-10.0.1
> % grep 'WITH_' /var/db/ports/firefox-i18n/options
> WITH_LANG_FR=true
> % grep 'general.useragent.locale' ~/.mozilla/firefox/*.default/prefs.js
> user_pref("general.useragent.locale", "fr-FR");
>
> But Firefox still has english menus. It has been working since Firefox
> 3 through Firefox 9, and the localization stopped working with Firefox
> 10.0. It did not come back with Firefox 10.0.1. The same thing applies
> for Thunderbird 10. I also tried with the switcher extension, no luck.
> Tried with a new profile, with different values (like "fr" only) for
> general.useragent.locale, with 'firefox -UILocale "fr-FR"' or 'firefox
> -UILocale "fr"'... nothing made it. I found no xpi, they seem to be
> extracted.
>
> % find /usr/local/ -name \*.xpi | wc -l
>       0
> % ll /usr/local/lib/xpi/
> total 1
> drwxr-xr-x   3 root  wheel   5 14 fév 12:37 [hidden email]
> drwxr-xr-x   3 root  wheel   5 14 fév 12:38 [hidden email]
> drwxr-xr-x   7 root  wheel  11 14 fév 12:17 [hidden email]
> drwxr-xr-x  12 root  wheel  12 14 fév 12:38 symlinks
>
> Any advice ?

I had some time to take a look at it. When extracting the content of the
xpi into the corresponding directory in /usr/local/lib/xpi/ the langpacks
are working again. In the past we created a jar file out of the locale
directory because the content differs between each langpack and it was a
very time-consuming task to update all the langpacks:
${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \

Unfortunately it looks like this does no longer work…

Currently I'm looking for a solution to extract the xpi as it is and
dynamically generating the plist in the ports Makefile.

Beat_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Loading...