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
/fris 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 enablingseparate-locales: falsein the Flatpak manifest). - If
/fris 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:
- Some Flatpak apps do not display the right Locale/Language on ubuntu 22.04 - Ask Ubuntu
- How to install additional spell check dictionaries for Flatpak apps | Ctrl blog
- What command from the appstream workflow enables localizations? - Flathub Discourse
- Ubuntu Manpage: flatpak-metadata - Information about an application or runtime
- Reddit - The heart of the internet
- https://www.gramps-project.org/wiki/index.php/Howto:Change_the_language_of_reports
- How do flatpak locales work? - Fedora Discussion
- 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