snap translations issue during 1st launch after update

Bug #1899025 reported by Francois Thirioux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
New
Low
Unassigned

Bug Description

When I updated today from 78.3.1 to 78.3.2, after the first launch of the updated 78.3.2, I got some untranslated strings (Inbox in mailboxes folder list, e.g.).
After the 2nd launch, all became normal.

AFAICR, it was the case during previous updates too.
Not a big deal, though...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that's pretty weird since the translations are included in the snap, unsure what could change between the first start and the next one...

Changed in thunderbird (Ubuntu):
importance: Undecided → Low
Revision history for this message
Francois Thirioux (fthx) wrote :

Confirmed with 78.3.2 -> 78.3.3 -> 78.4.0 .
The TB menu is translated including this first launch, though.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Indeed, I can confirm that as well. It sounds like it's probably an upstream bug though, I'm unsure why the snap would make a difference there

Revision history for this message
Francois Thirioux (fthx) wrote :

Well, I'm not able to see clearly all the TB snap environment.

BUT :-) I feel that it may be related to the French (and others?) langpacks. After your post here, I checked at my FR langpack. It was a 78.0* dated in ***august***. Of course, all my addons are up-to-date from a TB interface point of view. TB is bundled with some langpacks. (See mine after my post.) The second version 78.0buildid20201019003438 in this snap-bundled xpi is up-to-date. But it was not the version that was displayed by TB addons manager.

{
  "description": "Language pack for Thunderbird for fr",
  "applications": {
    "gecko": {
      "strict_max_version": "78.*",
      "strict_min_version": "78.0",
      "id": "<email address hidden>"
    }
  },
  "name": "Français Language Pack",
  "languages": {
    "fr": {
      "version": "20200902053656",
      "chrome_resources": {
        "pipnss": "chrome/fr/locale/fr/pipnss/",
        "devtools": "chrome/fr/locale/fr/devtools/client/",
        "global": "chrome/fr/locale/fr/global/",
        "messenger": "chrome/fr/locale/fr/messenger/",
        "alerts": "chrome/fr/locale/fr/alerts/",
        "pluginproblem": "chrome/fr/locale/fr/pluginproblem/",
        "autoconfig": "chrome/fr/locale/fr/autoconfig/",
        "lightning": "chrome/fr/locale/fr/lightning/",
        "places": "chrome/fr/locale/fr/places/",
        "calendar": "chrome/fr/locale/fr/calendar/",
        "global-platform": {
          "macosx": "chrome/fr/locale/fr/global-platform/mac/",
          "win": "chrome/fr/locale/fr/global-platform/win/",
          "linux": "chrome/fr/locale/fr/global-platform/unix/",
          "android": "chrome/fr/locale/fr/global-platform/unix/"
        },
        "mozldap": "chrome/fr/locale/fr/mozldap/",
        "chat": "chrome/fr/locale/fr/chat/",
        "messenger-smime": "chrome/fr/locale/fr/messenger-smime/",
        "communicator": "chrome/fr/locale/fr/communicator/",
        "passwordmgr": "chrome/fr/locale/fr/passwordmgr/",
        "necko": "chrome/fr/locale/fr/necko/",
        "devtools-startup": "chrome/fr/locale/fr/devtools/startup/",
        "pippki": "chrome/fr/locale/fr/pippki/",
        "messenger-newsblog": "chrome/fr/locale/fr/messenger-newsblog/",
        "devtools-shared": "chrome/fr/locale/fr/devtools/shared/",
        "messenger-region": "chrome/fr/locale/fr/messenger-region/",
        "mozapps": "chrome/fr/locale/fr/mozapps/",
        "branding": "chrome/fr/locale/fr/branding/",
        "messenger-mapi": "chrome/fr/locale/fr/messenger-mapi/"
      }
    }
  },
  "manifest_version": 2,
  "version": "78.0buildid20201019003438",
  "author": "mozfr.org (contributors: Frédéric Chateaux, Théo Chevalier, Cédric Corazza, Philippe Dessante, Benoît Leseul, Jean-Bernard Marcon)",
  "sources": {
    "browser": {
      "base_path": "browser/"
    }
  },
  "langpack_id": "fr"
}

Revision history for this message
Francois Thirioux (fthx) wrote :

Others remarks, sorry if they are unhelpful:

1) TB snap cannot install FR langpack from /snap/thunderbird/... because confinement

2) if I install this bundled FR langpack after being moved to a snap-readable folder in my home folder, the correct 78.0buildid20201019003438 version is displayed in TB addons manager interface

summary: - Thunderbird 78.3.2 snap translations issue during 1st launch after
- update
+ snap translations issue during 1st launch after update
Revision history for this message
Francois Thirioux (fthx) wrote :

There is something odd.
See attachment, this time in a local 18.04 VM after updating my TB snap. I tried to remove all ~ TB folders and I purged TB snap, then reinstall it. Same issue.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Francois, sorry I don't understand those comments. The language bundled with the snaps are enabled by default, if you go to the extensions -> language dialog you should see them listed? You don't need to install anything locally (also the report is about the first start, if you close and open again the inbox label is correctly translated so it's not the translations which are missing)

Revision history for this message
Francois Thirioux (fthx) wrote :

Yes initially langpacks were listed in extensions list. I removed some of them (in TB UI), somewhat looks strange to me I could do that since they are bundled. Well, I obviously, until yesterday, kept snap-native FR langpack. The version displayed in TB UI of this langpack did not match the latest available version (present in /snap/thunderbird xpi bundled file). No update was displayed when I manually did update my addons through normal TB UI.

So I now have uninstalled the snap-native FR langpack, installed the TB addon from TB addons website. I'll see if I experience any first launch issue when 78.4.1 will be available.

Please note that I actually don't know how to recover all the snap-native langpacks since I have deleted them through TB UI.

Revision history for this message
Francois Thirioux (fthx) wrote :

Ok I found how to recover these snap-native langpacks. Config editor, search "lang" and reset the adequate values, see attachment.

If I do that, the version is up-to-date and I still get "Inbox" not translated at first launch after langpack activation. Maybe a TB related bug, not snap. Are Groovy TB 78 users seeing the same issue?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.