gnome-shell spams the journal with `Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 0:expected value` multiple times every second for users using the lt_LT , ru_RU, Indonesian (id) and maybe other locales
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| GSettings Desktop Schemas |
Fix Released
|
Unknown
|
|||
| gsettings-desktop-schemas (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Noble |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
Impact
------
The systemd journal gets a lot of warnings about an incorrect translation for the default Ubuntu Desktop when used with certain languages including Georgian, Indonesian, Lithuanian, and Russian.
This issue is much worse if someone has enabled the show Seconds option in the top bar clock.
This issue is being fixed by packaging the new bugfix release of gsettings-
https:/
Test Case
---------
1. Open a terminal and run sudo apt install language-
2. Close the terminal
3. Open the Settings app (gnome-
4. In the side bar, click System, then Date & Time. Turn on Seconds.
5. Close the Settings app.
6. Open the Language Support app.
You can click Remind me later if you see a warning that says "The language support is not installed completely."
7. Drag Lietuvių to the top of the list.
8. Log out
9. Log back in.
10. Open a terminal and run journalctl -f. You should not see any of the clock-format warnings mentioned in the Original Bug Report below.
What Could Go Wrong
-------------------
As a component of GNOME core, there is a micro-release exception for gsettings-
https:/
Other Info
----------
Because gsettings-
Therefore, we will need to push this update without being able to verify the Test Case first.
Original Bug Report
-------------------
After upgrading to Ubuntu 24.04 LTS I ran journalctl -f and noticed that gnome-shell was spamming errors at the rate of 12 lines every second:
geg. 02 18:29:19 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:19 blynas gnome-shell[3980]: Using untranslated default instead.
geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.
geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
My locale is lt_LT.UTF-8, but this issue appears also in ru_RU, id (Indonesian) and maybe other locales.
This is caused by a mistaken translation of the quote characters in "'24h'" which is used as the default value for a particular gsettings key. Specifically, this translation: https:/
https:/
https:/
Since I'm a member of the Lithuanian translators team, I've fixed the translation error for Lithuanian language in translations.
(I've also submitted a fixed Lithuanian translation upstream to l10n.gnome.org , but not for other languages)
Workaround: run dconf-editor, find /org/gnome/
System-wide workaround for Lithuanian language:
msgunfmt /usr/share/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell 46.0-0ubuntu5
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu May 2 18:25:59 2024
DisplayManager: gdm3
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-06-12 (1786 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to noble on 2024-05-02 (0 days ago)
| tags: | added: logspam |
| affects: | gnome-shell (Ubuntu) → gsettings-desktop-schemas (Ubuntu) |
| Changed in gsettings-desktop-schemas (Ubuntu): | |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| description: | updated |
| summary: |
gnome-shell spams the journal with `Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 0:expected value` multiple times every second for users using the lt_LT - locale + and ru_RU locales |
| description: | updated |
| summary: |
gnome-shell spams the journal with `Failed to parse translated string '„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 0:expected value` multiple times every second for users using the lt_LT - , ru_RU and maybe other locales + , ru_RU, Indonesian (id) and maybe other locales |
| description: | updated |
| Changed in gsettings-desktop-schemas: | |
| status: | Unknown → Fix Released |
| Changed in gsettings-desktop-schemas (Ubuntu Noble): | |
| status: | New → Triaged |
| description: | updated |
| Changed in gsettings-desktop-schemas (Ubuntu Noble): | |
| status: | Triaged → Fix Committed |
| importance: | Undecided → Medium |
| description: | updated |
| Changed in gsettings-desktop-schemas (Ubuntu Noble): | |
| status: | Fix Committed → In Progress |
| description: | updated |

Ubuntu 24.04
$ journalctl /usr/bin/ gnome-shell
июн 03 18:22:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome. desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range desktop. interface' is outside of valid range
июн 03 18:22:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:23:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:23:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:23:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:24:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:24:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:24:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:25:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:25:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:25:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:26:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:26:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:26:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:27:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:27:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:27:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:28:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:28:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:28:00 pc gnome-shell[9118]: Translated default ''24h'' for key 'clock-format' in schema 'org.gnome.
июн 03 18:29:00 pc gnome-shell[9118]: Translated default ''24h'' for ke...