Public bug reported:

Package: language-pack-gnome-de-base 1:26.04+20260818
Ubuntu: 26.04.1 LTS
gnome-shell: 50.1-0ubuntu1.4

With the system language set to German and the clock format set to 24h, the 
date menu popup in GNOME Shell shows "1" instead of times. This affects:
- start/end times of calendar events (shown as "1 – 1")
- world clocks (shown as "1")
- weather forecast hours (shown as "1")

The clock in the top bar is not affected. Switching the clock format to
12h (AM/PM) makes all times display correctly.

Cause:
The German translation file contains a wrong entry:

  msgid "%H:%M"
  msgstr "1"

Found with:
msgunfmt /usr/share/locale-langpack/de/LC_MESSAGES/gnome-shell.mo | grep -n -B3 
-A1 'msgstr "1"'
(dpkg -S shows that the file belongs to language-pack-gnome-de-base)

The msgstr should be "%H:%M".

Expected result:
The 24h time format is used and times such as "09:00 – 10:00" are displayed.

Workaround:
I decompiled gnome-shell.mo with msgunfmt, changed msgstr "1" to msgstr 
"%H:%M", recompiled it with msgfmt and replaced the file. After logging out and 
in again, 24h times are displayed correctly. A package update will overwrite 
this fix.
The apport data attached to this report was collected after applying this 
workaround, so the installed gnome-shell.mo differs from the packaged one.

No newer version of language-pack-gnome-de-base is available in the
archive at the time of reporting.

Steps to reproduce:
1. Set the system language to German.
2. In Settings > System > Date & Time, set the clock format to 24-hour.
3. Have a calendar event with start/end time today (any calendar), then open 
the date menu.
4. Observe "1 – 1" instead of the event times.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: language-pack-gnome-de-base 1:26.04+20260818 [modified: 
usr/share/locale-langpack/de/LC_MESSAGES/gnome-shell.mo]
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 25 20:24:19 2026
InstallationDate: Installed on 2026-05-03 (175 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: language-pack-gnome-de-base
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: language-pack-gnome-de-base (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175426

Title:
  German translation of gnome-shell: msgid "%H:%M" translated as "1",
  breaks 24h time display in calendar, world clocks and weather

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-pack-gnome-de-base/+bug/2175426/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to