Pas de langue française dans Gramps 6 installé depuis Flatpak

From Perplexity.ai :

The command flatpak info org.gramps_project.Gramps.Locale will list all locales included in the Gramps Flatpak package. Specifically, it will display the subdirectories (e.g., /en, /fr, etc.) that indicate which language data is available for the application. This allows you to verify whether the French locale (/fr) is included.

To check if the Gramps Flatpak includes the French locale:

Run the following command:

bash

flatpak info org.gramps_project.Gramps.Locale

Example Output:

The output might look like this:

text

ID: org.gramps_project.Gramps.Locale
Ref: runtime/org.gramps_project.Gramps.Locale/x86_64/stable
Arch: x86_64
Branch: stable
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 120 kB
Commit: <commit-hash>
Parent: <parent-commit>
Subject: Update Gramps to latest release
Date: <date>
Subdirectories: /en,/fr,/de,/es

Here, the Subdirectories field lists all available locales. If /fr is present, it means the French locale is included.

Additional Notes:

  • If /fr is missing, it could indicate that the Flatpak build did not include French localization files. This might be due to a misconfiguration during packaging (e.g., not enabling separate-locales: false in the Flatpak manifest).
  • If /fr is present but the application does not display in French, ensure your system’s locale settings are correct (e.g., LANG=fr_FR.UTF-8) and that Flatpak is configured to prioritize French with:

bash

flatpak config --set languages 'fr;en'

Citations:

  1. Some Flatpak apps do not display the right Locale/Language on ubuntu 22.04 - Ask Ubuntu
  2. How to install additional spell check dictionaries for Flatpak apps | Ctrl blog
  3. What command from the appstream workflow enables localizations? - Flathub Discourse
  4. Ubuntu Manpage: flatpak-metadata - Information about an application or runtime
  5. Reddit - The heart of the internet
  6. https://www.gramps-project.org/wiki/index.php/Howto:Change_the_language_of_reports
  7. How do flatpak locales work? - Fedora Discussion
  8. Using different language for application is magic · Issue #1504 · flatpak/flatpak · GitHub

Answer from Perplexity: https://www.perplexity.ai/search/as-an-expert-in-the-flatpak-in-wK94Ya92QKeM8HjSobFJ5Q?utm_source=copy_output

@S.Mackay