Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673442 - mail-client/thunderbird-bin-60.3.3 interface is not localized ("ru" locale)
Summary: mail-client/thunderbird-bin-60.3.3 interface is not localized ("ru" locale)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Thomas Deutschmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-19 16:01 UTC by Maxim Ganetsky
Modified: 2019-01-14 22:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Ganetsky 2018-12-19 16:01:49 UTC
I have installed mail-client/thunderbird-bin-60.3.3 with "ru" locale but its interface is in English for me. Also "languages" category in add-on manager is missing.

All other applications in my system including firefox-bin are translated correctly.

Reproducible: Always




Output of "equery u thunderbird-bin":
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for mail-client/thunderbird-bin-60.3.3:
 U I
 + + crashreporter : Enable crash reporter for bugs
 + + ffmpeg        : Enable ffmpeg/libav-based audio/video codec support
 - - l10n_ar       : Arabic
 - - l10n_ast      : Asturian
 - - l10n_be       : Belarusian
 - - l10n_bg       : Bulgarian
 - - l10n_br       : Breton
 - - l10n_ca       : Catalan
 - - l10n_cs       : Czech
 - - l10n_cy       : Welsh
 - - l10n_da       : Danish
 - - l10n_de       : German
 - - l10n_el       : Modern Greek
 - - l10n_en-GB    : English (United Kingdom)
 - - l10n_es-AR    : Spanish (Argentina)
 - - l10n_es-ES    : Spanish (Spain)
 - - l10n_et       : Estonian
 - - l10n_eu       : Basque
 - - l10n_fi       : Finnish
 - - l10n_fr       : French
 - - l10n_fy       : Western Frisian
 - - l10n_ga       : Irish
 - - l10n_gd       : Scottish Gaelic
 - - l10n_gl       : Galician
 - - l10n_he       : Hebrew
 - - l10n_hr       : Croatian
 - - l10n_hsb      : Upper Sorbian
 - - l10n_hu       : Hungarian
 - - l10n_hy       : Armenian
 - - l10n_id       : Indonesian
 - - l10n_is       : Icelandic
 - - l10n_it       : Italian
 - - l10n_ja       : Japanese
 - - l10n_ko       : Korean
 - - l10n_lt       : Lithuanian
 - - l10n_nb       : Norwegian Bokmål
 - - l10n_nl       : Dutch
 - - l10n_nn       : Norwegian Nynorsk
 - - l10n_pl       : Polish
 - - l10n_pt-BR    : Portuguese (Brazil)
 - - l10n_pt-PT    : Portuguese (Portugal)
 - - l10n_rm       : Romansh
 - - l10n_ro       : Romanian
 + + l10n_ru       : Russian
 - - l10n_si       : Sinhala
 - - l10n_sk       : Slovak
 - - l10n_sl       : Slovenian
 - - l10n_sq       : Albanian
 - - l10n_sr       : Serbian
 - - l10n_sv       : Swedish
 - - l10n_tr       : Turkish
 - - l10n_uk       : Ukrainian
 - - l10n_vi       : Vietnamese
 - - l10n_zh-CN    : Chinese (China)
 - - l10n_zh-TW    : Chinese (Taiwan)
 + + pulseaudio    : Add support for PulseAudio sound server

Output of "locale":
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC=C
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-12-21 00:52:30 UTC
Is this a fresh installation or did you upgrade (in this case please tell use your previous version)?
Comment 2 Maxim Ganetsky 2018-12-21 12:01:33 UTC
I used mail-client/thunderbird-52.9.1 before (not *-bin package).
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-12-21 16:46:15 UTC
So your problem is that your profile configuration is out of date, it is still using the old way which is no longer working for localization.

Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1445897 should give you a hint what you need to change.

Of course, creating a new profile will also fix the problem for you. I am not aware about a "refresh" feature in Thunderbird like Firefox provides. So don't forget to backup your profile because you will have to manually move your mails to the new profile.
Comment 4 Maxim Ganetsky 2018-12-21 17:18:17 UTC
I just tried to start Thunderbird with newly created profile, but nothing changed. The interface is still in English.

Also setting the following properties:

intl.locale.MatchOs = false
intl.locale.requested = ru

does not help.

The language pack is not available in add-on manager.
Comment 5 Maxim Ganetsky 2018-12-21 17:43:50 UTC
Localization info from troubleshooting Thunderbird page:

Internationalization & Localization

Application Settings
Requested Locales 	["en-US"]
Available Locales 	["en-US"]
App Locales 	        ["en-US"]
Regional Preferences 	["ru-RU"]
Default Locale 	         "en-US"

Operating System
System Locales 	        ["ru-RU"]
Regional Preferences    ["ru-RU"]
Comment 6 Solstiss 2019-01-12 12:43:14 UTC
Same problem here with thunderbird-bin-60.4.0 and the "fr" locale with a fresh profile. My workaround is to manually install the language pack using the xpi file retrieved by portage and set these options in my profile:

intl.locale.MatchOs = false
intl.locale.requested = fr
(even if my account uses LANG=fr_FR.utf8, these options are mandatory to have a translated GUI)

I don't know if the comparison is relevant, but for my firefox-bin-64.0.2, the langpack is stored in /opt/firefox/browser/extensions/langpack-fr@firefox.mozilla.org.xpi while it's decompressed for Thunderbird in /opt/thunderbird/distribution/bundles/langpack-fr@thunderbird.mozilla.org/ (and I didn't have to do anything in firefox to get the translations).
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2019-01-12 15:22:21 UTC
OK, I can confirm that installing thunderbird-bin with L10N=ru for example won't give you a Russian UI on first start using a fresh profile.
Comment 8 Larry the Git Cow gentoo-dev 2019-01-12 22:05:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f590e4543709513429cab89952a8166b4ee8ef6f

commit f590e4543709513429cab89952a8166b4ee8ef6f
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-01-12 22:03:42 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-01-12 22:05:42 +0000

    mail-client/thunderbird-bin: fix localization
    
    Closes: https://bugs.gentoo.org/673442
    Package-Manager: Portage-2.3.55, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../files/thunderbird-gentoo-default-prefs-r1.js   |  12 ++
 .../thunderbird-bin-60.4.0-r1.ebuild               | 187 +++++++++++++++++++++
 2 files changed, 199 insertions(+)
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2019-01-12 22:11:15 UTC
This should be working now, including localized Lightning (when available).
If you don't get a localized Lightning, you maybe need to force an update for the Lightning extension, i.e. delete "{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi" in your Thunderbird profile and reset "extensions.installedDistroAddon.{e2fda1a4-762b-4020-b5ad-a41df1933103}" in about:config to force an update when on next Thunderbird restart.
Comment 10 Solstiss 2019-01-13 07:48:31 UTC
I confirm my locals returned after the package update and the extensions.installedDistroAddon option reset.
Comment 11 Maxim Ganetsky 2019-01-14 17:11:19 UTC
Thunderbird is localized correctly now, thanks.

But Lightning is still not localized, even after following the steps you described.

There are some warnings on install:

>>> Messages generated by process 4844 on 2019-01-14 19:28:20 MSK for package mail-client/thunderbird-bin-60.4.0-r1:

WARN: prepare
Locale ru was not found for lightning, skipping.
Locale ru was not found for calendar, skipping.
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2019-01-14 17:47:52 UTC
Yeah, that's what I tried to say with

> including localized Lightning (when available)
                                 ^^^^^^^^^^^^^^

;-)



Well, we have to update and re-generate our lightning package to include ru locales but at the moment I don't know how to do that.
Comment 13 Maxim Ganetsky 2019-01-14 22:59:42 UTC
OK, got it now. ;)