On Sun, Oct 11, 2020 at 06:09:13PM +0200, Landry Breuil wrote: > On Sun, Oct 11, 2020 at 01:00:11PM +0200, Joel Carnat wrote: > > Hi, > > > > I have installed OpenBSD 6.8-current from scratch and gave a try at using > > French localization everywhere. So far, XFCE and Firefox and ok. But I can't > > switch Thunderbird to FR. > > > > I have installed: > > OpenBSD 6.8-current (GENERIC.MP) #102: Thu Oct 8 14:41:12 MDT 2020 > > thunderbird-78.3.2 Mozilla e-mail, calendar, rss and usenet client > > thunderbird-i18n-en-US-78.3.2 en-US language pack for Thunderbird > > thunderbird-i18n-es-ES-78.3.2 es-ES language pack for Thunderbird > > thunderbird-i18n-fr-78.3.2 fr language pack for Thunderbird > > thunderbird-i18n-it-78.3.2 it language pack for Thunderbird > > thunderbird-i18n-ru-78.3.2 ru language pack for Thunderbird > > > > As described in the package message, I have tried setting > > "general.useragent.locale" to "fr-FR", "fr_FR" and "fr" but TB is still in > > English. I also tried with other language packs but the same thing happens. > > > > A weird thing is that using the Preferences / Language drop-list, I can only > > select "English (US)" or "Catalan (valencia)". Switching to both works ok > > using the GUI. But I have not installed the Catalan language pack. And no > > other language are available using "Select a language to add". > > > > In case it matters, variable environment are configured as follow in > > .xsession: > > export LANG="fr_FR.UTF-8" LC_CTYPE="fr_FR.UTF-8" LC_MESSAGES="fr" > > > > Any thoughts on what to do to get localized GUI? > > I'll have to look, probably the default search path used in 78 changed > (iirc this happened too for firefox-esr) and i forgot to check that. > Meh.
Myeah, thunderbird-i18n-fr installs the langpack into /usr/local/lib/thunderbird-${VERSION}/extensions, while thunderbird is installed under /usr/local/lib/thunderbird/, so of course that cant fly. I dunno where that 'Catalan' langpack is (shipped by default ? strange..) but after doing the following: mkdir /usr/local/lib/thunderbird/distribution/extensions cp /usr/local/lib/thunderbird-78.3.*/extensions/langpack...@thunderbird.mozilla.org.xpi /usr/local/lib/thunderbird/distribution/extensions/ French langpack was available too in the preferences/language drop-list, and after enabling it and restarting thunderbird, the menus were properly localised. I'll fix that in -current, then will recheck things work for firefox-esr too, and then i'll fix what's broken in 6.8-stable... Thanks for reporting it ! Landry