Re: www/firefox and mail/thunderbird localization

2012-02-27 Thread Beat Gätzi
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 langpack...@firefox.mozilla.org
 drwxr-xr-x   3 root  wheel   5 14 fév 12:38 
 langpack...@thunderbird.mozilla.org
 drwxr-xr-x   7 root  wheel  11 14 fév 12:17 lightn...@thunderbird.mozilla.org
 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___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/firefox and mail/thunderbird localization

2012-02-21 Thread Olivier Smedts
2012/2/20 Oliver Heesakkers free...@heesakkers.info:
 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: oliv...@gid0.org        - 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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/firefox and mail/thunderbird localization

2012-02-21 Thread 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
hiroto.kagot...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/firefox and mail/thunderbird localization

2012-02-21 Thread Boris Samorodov

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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/firefox and mail/thunderbird localization

2012-02-21 Thread Beat Gaetzi
2012/2/21 Boris Samorodov b...@passap.ru:
 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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/firefox and mail/thunderbird localization

2012-02-21 Thread Boris Samorodov

On 21.02.2012 19:44, Beat Gaetzi wrote:

2012/2/21 Boris Samorodovb...@passap.ru:

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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


www/firefox and mail/thunderbird localization

2012-02-20 Thread 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 langpack...@firefox.mozilla.org
drwxr-xr-x   3 root  wheel   5 14 fév 12:38 langpack...@thunderbird.mozilla.org
drwxr-xr-x   7 root  wheel  11 14 fév 12:17 lightn...@thunderbird.mozilla.org
drwxr-xr-x  12 root  wheel  12 14 fév 12:38 symlinks

Any advice ?

Thanks

-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: oliv...@gid0.org        - 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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/firefox and mail/thunderbird localization

2012-02-20 Thread Oliver Heesakkers
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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org