You are not logged in.

#1 2024-05-02 19:48:23

rouelle
Member
Registered: 2018-03-13
Posts: 34

[SOLVED] gedit 47.0-1 doesn't use french locale

The last upgrade of gedit (text editor) doesn't use the french locale despite the file gedit.mo being present in /usr/share/locale/fr/LC_MESSAGES/
gedit shows every menus and dialogs in english.

My locale is fr_CA, a subgroup of fr. When no specific fr_CA .mo file is detected, it defaults to fr locale, which is OK.

The package gedit-47.0-1-x86_64.pkg.tar.zst contains a plethora of .mo files and gedit.mo for french is present.

Is this behavior of not using the default locale of the system happens in another language too? I never had this problem before with gedit...

locale
LANG=fr_CA.UTF-8
LC_CTYPE="fr_CA.UTF-8"
LC_NUMERIC="fr_CA.UTF-8"
LC_TIME="fr_CA.UTF-8"
LC_COLLATE="fr_CA.UTF-8"
LC_MONETARY="fr_CA.UTF-8"
LC_MESSAGES="fr_CA.UTF-8"
LC_PAPER="fr_CA.UTF-8"
LC_NAME="fr_CA.UTF-8"
LC_ADDRESS="fr_CA.UTF-8"
LC_TELEPHONE="fr_CA.UTF-8"
LC_MEASUREMENT="fr_CA.UTF-8"
LC_IDENTIFICATION="fr_CA.UTF-8"
LC_ALL=

Last edited by rouelle (2024-05-03 20:09:39)


Sous Linux depuis 1998 / Using Linux since 1998

Offline

#2 2024-05-03 13:04:52

Awebb
Member
Registered: 2010-05-06
Posts: 6,321

Re: [SOLVED] gedit 47.0-1 doesn't use french locale

https://wiki.archlinux.org/title/Locale

Have you checked the output of...
  locale -a
  localectl list-locals
  grep fr_CA /etc/locale.gen
...or would share them with us?

Offline

#3 2024-05-03 15:01:25

seth
Member
Registered: 2012-09-03
Posts: 52,276

Re: [SOLVED] gedit 47.0-1 doesn't use french locale

Do you start gedit out of the terminal that listed the LCs or from some GUI runner?

localectl

and what DE do you use (cause the fat ones steamroll their own config over the system default and if your bashc exports LANG or so, we might deal w/ wildly diverging contexts.

tr '\0' '\n' < /proc/$(pidof gedit)/environ

to check the gedit environment.

Offline

#4 2024-05-03 18:44:53

Spriteman
Member
Registered: 2022-08-21
Posts: 1

Re: [SOLVED] gedit 47.0-1 doesn't use french locale

Hi, in gedit 47 changelog there is :
Removed features:
* Localization (l10n): all the translations are disabled, gedit is available in
  English only because some underlying modules are not on l10n.gnome.org or
  equivalent.

Offline

#5 2024-05-03 20:08:48

rouelle
Member
Registered: 2018-03-13
Posts: 34

Re: [SOLVED] gedit 47.0-1 doesn't use french locale

Hi, in gedit 47 changelog there is :
Removed features:
* Localization (l10n): all the translations are disabled, gedit is available in
  English only because some underlying modules are not on l10n.gnome.org or
  equivalent.

Ah, it's a sad decision as we usually don't use ALL the modules. When your native language is not English, you can accept that sometimes some words (menus) are partly translated, and most of the time the next point release corrects this small bug. I'll mark this issue as solved, hoping that 47.1 will bring back localization. Thanks to everyone for your hints and the time involved to answer me!


Sous Linux depuis 1998 / Using Linux since 1998

Offline

Board footer

Powered by FluxBB