Bonjour,
Je viens de mettre à jour Gramps en v6.0.0 en format flatpak (depuis https://flathub.org/apps/org.gramps_project.Gramps sous kubuntu 24.04.
Et il est uniquement en anglais.
Auparavant avec la version 5.2, également en flatpak et sous le même OS, j’avais bien le français dans gramps.
Je ne pense pas que cela vienne de mon système car un autre logiciel en flatpak est bien en français.
Voyez-vous comment avoir Gramps 6 en français? ou est ce que le français n’aurait pas encore été intégré dans le paquet flatpak?
Merci pour votre aide!
Bonjour,
Français de France?
$ locale
Oui français de france, voici ce que retourne locale
:
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=
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:
- 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
- Howto:Change the language of reports - Gramps
- 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
@S.Mackay
J’ai réussi à avoir le français dans gramps 6.
Pour info, voir [Bug]: Flatpak apps can not launch in different language · Issue #5536 · flatpak/flatpak · GitHub
- J’ai fait une config qui me manquait, indiqué ici https://flathub.org/setup/Kubuntu:
sudo apt install kde-config-flatpak
- Comme indiqué par @emyoulation, j’ai fait
flatpak config --set languages 'fr;en'
- Et finalement
flatpak update
Merci pour vos réponses qui m’ont aidé à trouver!
1 Like
Vueillez excuser mon mauvaiz francais:
separate-locales: false
est la line 8 du manifeste flatpak pour Gramps 6 org.gramps_project.Gramps/org.gramps_project.Gramps.yml at master · flathub/org.gramps_project.Gramps · GitHub . Ce n’a pas change depuis Gramps 5.2, mais nous l’modifie il a quelques annees depuis vioux flatpak archives dans otra lingues a Releases · gramps-project/flatpak · GitHub . Je ne sais pas pourquoi parametres regionaux echoue dans cette instance. Le parametres regionaux echoue dans Gramps 6 flatpak puor quelqu’un d’autre?
(what I am trying to say in my native language, I don’t fully trust Google Translate so I don’t rely on it)
Please excuse my poor French:
separate-locales: false
is set on line 8 of the Gramps 6 flatpak org.gramps_project.Gramps/org.gramps_project.Gramps.yml at master · flathub/org.gramps_project.Gramps · GitHub . This did not change from Gramps 5.2, but we modified it a couple years ago to make the old flatpak archives work in other languages at Releases · gramps-project/flatpak · GitHub . I don’t know why the Locale setting failed in this case. Has the Locale setting failed in the Gramps 6 flatpak for anyone else?
1 Like
(Google translate)
D’après ce que j’ai lu dans ce fil de discussion, il semble que le Gramps Flatpak était bien.
Cependant, la configuration de l’environnement Flatpak pour Kubuntu nécessitait une modification. Le français était alors la langue préférée (au lieu de l’anglais) pour une installation bilingue.

From my reading of this thread, it appears that the Gramps Flatpak was fine.
However, the (Flatpak environment) configuration for Kubuntu needed a modification. That needed French as the preferred language (instead of English) in a bilingual install.
(Google Translate)
Ce type de problème avec les paramètres régionaux est exactement ce que je voulais voir discuté.
Le wiki ne fournit pas de bons outils ni de workflows clairs pour corriger ou ajuster les paramètres régionaux. Dans de nombreux cas, les paramètres régionaux ne sont même pas mentionnés.
Souligner ces problèmes est la seule manière d’améliorer le wiki.

This type of problem with locale settings is exactly what I hoped to see discussed.
The wiki does not provide good tools or clear workflows for fixing or adjusting locale settings. In many cases, locales are not even mentioned.
Pointing out these issues is the only way to improve the wiki.
Not tested…
$ flatpak config
languages: *unset* (default: fr)
extra-languages: *unset*
$ flatpak install flathub org.gramps_project.Gramps
1. org.freedesktop.Platform.GL.Debug.default 24.08 i flathub < 551,3 MB
2. org.freedesktop.Platform.GL.Debug.default 24.08extra i flathub < 551,3 MB
3. org.freedesktop.Platform.GL.default 24.08 i flathub < 156,8 MB
4. org.freedesktop.Platform.GL.default 24.08extra i flathub < 156,8 MB
5. org.freedesktop.Platform.openh264 2.5.1 i flathub < 971,4 kB
6. org.gnome.Platform.Locale 48 i flathub < 387,1 MB (partial)
7. org.gtk.Gtk3theme.elementary 3.22 i flathub < 1,3 MB
8. org.gnome.Platform 48 i flathub < 399,2 MB
9. org.gramps_project.Gramps stable i flathub < 74,9 MB
Proceed with these changes to the system installation? [Y/n]: n
Il y a aussi des applications graphiques permettant de vérifier et modifier sa configuration flatpak.
Bonjour,
Sous Debian avec Gnome, je n’ai pas eu besoin d’installer le paquet concernant KDE, c’est à dire qu’il ne m’a pas été nécessaire de saisir la commande sudo apt install kde-config-flatpak
. j’ai simplement fait les étapes 2 et 3.
C’est une simple info pour d’autres utilisateurs qui sont sous Gnome.