Bug 23818 - Thunderbird does not accept any localization (was: Thunderbird gui does not open in Swedish)
Summary: Thunderbird does not accept any localization (was: Thunderbird gui does not ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2018-11-08 12:42 CET by Kristoffer Grundström
Modified: 2018-12-08 02:22 CET (History)
7 users (show)

See Also:
Source RPM: thunderbird-60.3.2-1.mga7.src.rpm; thunderbird-l10n-60.3.2-1.mga7.src.rpm
CVE:
Status comment:


Attachments
Testuser with opened Thunderbird (131.95 KB, image/png)
2018-12-06 02:04 CET, Kristoffer Grundström
Details

Description Kristoffer Grundström 2018-11-08 12:42:20 CET
Description of problem: I noticed that when I open Thunderbird in MATE the gui is not in Swedish as my system is set to use. rpm -q thunderbird shows thunderbird-60.3.0-1.mga7 and rpm -q thunderbird-sv_SE shows thunderbird-sv_SE-60.3.0-1.mga7 is installed. I don't use Backports, Testing or Tainted medias.

Version-Release number of selected component (if applicable): 60.3.0

How reproducible: All the time when I open it.

Steps to Reproduce:
1. Install Mageia 6.1 in Swedish.
2. Delete all the Testing, Backports and Tainted medias.
3. Update Mageia 6.1 to Cauldron.
4. Check that thunderbird-sv_SE is installed.
Comment 1 Marja Van Waes 2018-11-09 12:41:40 CET
What is the output of 

rpm -qa | grep thunderbird

and of

rpm -qa | grep locales


How did you install Mageia 6.1, using a Live iso (which one?) or a network iso?

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 2 Kristoffer Grundström 2018-11-09 17:04:18 CET
[kristoffer@localhost ~]$ rpm -qa | grep thunderbird
thunderbird-sv_SE-60.3.0-1.mga7
thunderbird-60.3.0-1.mga7
[kristoffer@localhost ~]$ rpm -qa | grep locales
locales-en-2.28-3.mga7
locales-2.28-3.mga7
locales-sv-2.28-3.mga7

I used the net iso.
Comment 3 Jüri Ivask 2018-11-12 17:43:52 CET
It seems that Thunderbird does not accept currently any localisation.
Although the thunderbird-et-60.3.0-1.mga7.noarch.rpm package is installed Thunderbird stays in English...

CC: (none) => jyri2000

Comment 4 katnatek 2018-11-15 19:08:58 CET
Changing title due comment #3 and this comment https://bugs.mageia.org/show_bug.cgi?id=23706#c11

Summary: Thunderbird gui does not open in Swedish => Thunderbird does not accept any localization (was: Thunderbird gui does not open in Swedish)

katnatek 2018-11-15 19:10:28 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=23706

Comment 5 Jüri Ivask 2018-11-20 10:32:07 CET
Still valid in thunderbird 60.3.1-1.mga7.

Source RPM: thunderbird-sv_SE => thunderbird-60.3.1-1.mga7.src.rpm; thunderbird-l10n-60.3.1-1.mga7.src.rpm

Thomas Bigot 2018-11-29 11:17:01 CET

CC: (none) => thomas.bigot

Comment 6 Jüri Ivask 2018-12-03 08:24:48 CET
 Still valid for thunderbird-60.3.2-1.mga7.

Source RPM: thunderbird-60.3.1-1.mga7.src.rpm; thunderbird-l10n-60.3.1-1.mga7.src.rpm => thunderbird-60.3.2-1.mga7.src.rpm; thunderbird-l10n-60.3.2-1.mga7.src.rpm

Comment 7 Marja Van Waes 2018-12-03 16:36:30 CET
(In reply to Jüri Ivask from comment #6)
>  Still valid for thunderbird-60.3.2-1.mga7.

Not for me on the laptop I'm now using: The Thunderbird interface is in Dutch, as it should be.

$ rpm -qa | grep thunderbird
thunderbird-60.3.2-1.mga7
thunderbird-nl-60.3.2-1.mga7
thunderbird-en_GB-60.3.2-1.mga7
thunderbird-fr-60.3.2-1.mga7
thunderbird-de-60.3.2-1.mga7
$ locale
LANG=nl_NL.UTF-8
LC_CTYPE="nl_NL.UTF-8"
LC_NUMERIC="nl_NL.UTF-8"
LC_TIME="nl_NL.UTF-8"
LC_COLLATE="nl_NL.UTF-8"
LC_MONETARY="nl_NL.UTF-8"
LC_MESSAGES="nl_NL.UTF-8"
LC_PAPER="nl_NL.UTF-8"
LC_NAME="nl_NL.UTF-8"
LC_ADDRESS="nl_NL.UTF-8"
LC_TELEPHONE="nl_NL.UTF-8"
LC_MEASUREMENT="nl_NL.UTF-8"
LC_IDENTIFICATION="nl_NL.UTF-8"
LC_ALL=
$

I'll check another laptop later today.... I'm pretty sure the interface is no longer in Portuguese there, as it should be on that system.
Comment 8 Bernard SIAUD 2018-12-03 21:17:54 CET
I hace this bug.

CC: (none) => liste

Comment 9 José Jorge 2018-12-05 18:38:26 CET
I had this problem, only for existing accouts. It seems a thunderbird bug when upgrading AFAIK, as a new account has no problem.

I have fixed it for myself following info found in Thunderbird FAQ, but unfortuately I cannot find it again right now.

CC: (none) => lists.jjorge

Comment 10 Kristoffer Grundström 2018-12-06 02:03:56 CET
(In reply to José Jorge from comment #9)
> I had this problem, only for existing accouts. It seems a thunderbird bug
> when upgrading AFAIK, as a new account has no problem.
> 
> I have fixed it for myself following info found in Thunderbird FAQ, but
> unfortuately I cannot find it again right now.

I don't know how you fixed it, but I created a new user account, logged in to MATE and opened Thunderbird. Still in English.
Comment 11 Kristoffer Grundström 2018-12-06 02:04:29 CET
Created attachment 10529 [details]
Testuser with opened Thunderbird
Kristoffer Grundström 2018-12-06 02:04:40 CET

CC: (none) => hamnisdude

Comment 12 Nicolas Salguero 2018-12-06 16:01:45 CET
Hi,

Here are my tests:
In a new Cauldron VM, I installed thunderbird and thunderbird-fr.  I started thunderbird and I accepted the French extension at the first launch but the UI was not translated into French.

So I compared some entries from "about:config" between firefox and thunderbird (from newly created profiles).

I found that firefox set two entries that thunderbird omits:
- "intl.locale.matchOS" set to "true"
- "intl.locale.requested" set to an empty string

Magically, in my tests, if I :
1) stop thunderbird
2) add to the prefs.js file found into the thunderbird profile these two lines:
"""
user_pref("intl.locale.matchOS", "true");
user_pref("intl.locale.requested", "");
"""
3) start thunderbird again

then thunderbird is translated into French.

I hope thunderbird-60.3.3-2.mga7 will solve the problem.

Best regards,

Nico.

CC: (none) => nicolas.salguero

Comment 13 Jüri Ivask 2018-12-07 06:38:16 CET
Hmm, but in my case the same thunderbird profile is shared by three installations (Mageia 6; Cauldron; KDE neon) in separate partitions by symlinking the .thunderbird directory (on the fourth partition) to their respective /home's.
All thunderbirds have their -et localisation packages installed.
In Cauldron, Thunderbird stays in english (and disables the estonian localisation addon), in Mageia 6 and in KDE neon the interface is in estonian as it should be...
Not tested the thunderbird-60.3.3-2.mga7 yet.
Comment 14 Jüri Ivask 2018-12-07 07:00:04 CET
Just installing the thunderbird-60.3.3-2.mga7 update does not make any difference - Cauldron Thunderbird stays in english...
Comment 15 Nicolas Salguero 2018-12-07 09:12:22 CET
(In reply to Jüri Ivask from comment #14)
> Just installing the thunderbird-60.3.3-2.mga7 update does not make any
> difference - Cauldron Thunderbird stays in english...

thunderbird-60.3.3-2.mga7 failed to build so I think you got thunderbird-60.3.3-1.mga7, which does not contain the fix.

Moreover, I was a bit unclear in my comment #12: when thunderbird > 60.3.3-1.mga7 will be successfully built, it will include a file that was present in thunderbird 52.9 but was mistakenly removed when we switch to version 60: "/usr/lib(64)/thunderbird-<version>/defaults/pref/all-mageia.js".  That file will contain:
"""
pref("intl.locale.matchOS", "true");
pref("intl.locale.requested", "");
"""
so that it will apply globally (no need to modify each thunderbird profile).
Comment 16 Jüri Ivask 2018-12-07 11:40:26 CET
Thanks for the clarification!
And indeed, the upgrade was 60.3.3-1.mga7...
Comment 17 Jüri Ivask 2018-12-07 19:36:28 CET
Seems to be fixed with thunderbird-60.3.3-3.mga7
Thanks!
Comment 18 Kristoffer Grundström 2018-12-08 02:22:55 CET
(In reply to Jüri Ivask from comment #17)
> Seems to be fixed with thunderbird-60.3.3-3.mga7
> Thanks!

Agreed! Installing thunderbird-sv_SE-60.3.3-1.mga7 and opening thunderbird shows it in Swedish again.

Closing as RESOLVED FIXED

Should however someone feel that the issue still exist in other languages feel free to reopen this report with new info.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.