clock date ignores xfce language settings

Bug #1471415 reported by Lars Noodén
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xfce4-panel (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

The clock defaults to "%d %b" but the locale is wrong. The clock appears to use the system locale rather than what the user has chosen for their language. What happens is that with "%d %b" the clock shows the month in the wrong language. What would be the expected behavior is that the clock shows the month in the language selected by the user in XFCE itself.

For example if /etc/default/locale has this:

 LANG="en_US.UTF-8"
 LC_NUMERIC="fi_FI.UTF-8"
 LC_TIME="fi_FI.UTF-8"
 LC_MONETARY="fi_FI.UTF-8"
 LC_PAPER="fi_FI.UTF-8"
 LC_NAME="fi_FI.UTF-8"
 LC_ADDRESS="fi_FI.UTF-8"
 LC_TELEPHONE="fi_FI.UTF-8"
 LC_MEASUREMENT="fi_FI.UTF-8"
 LC_IDENTIFICATION="fi_FI.UTF-8"

then the clock displays the month in Finnish regardless of which language the user has set in XFCE, such as Swedish or English. The user's XFCE settings should override the locale for all XFCE programs and applets.

$ lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04

$ apt-cache policy xfce4-panel
xfce4-panel:
  Installerad: 4.11.0-0ubuntu1
  Kandidat: 4.11.0-0ubuntu1
  Versionstabell:
 *** 4.11.0-0ubuntu1 0
        500 http://fi.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xfce4-panel 4.11.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-41.57~14.04.1-generic 3.16.7-ckt11
Uname: Linux 3.16.0-41-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Jul 4 16:26:08 2015
ExecutablePath: /usr/bin/xfce4-panel
InstallationDate: Installed on 2015-06-28 (5 days ago)
InstallationMedia: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: xfce4-panel
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lars Noodén (larsnooden) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfce4-panel (Ubuntu):
status: New → Confirmed
Revision history for this message
Alroger Filho (alroger-cafe-ti) wrote :

... a year later...
Same here on Xubuntu 16.04.1

Revision history for this message
Yury Krasouski (krasoffski) wrote :

... a two years later ...

Same here on Xubuntu 18.04.1

Revision history for this message
Meaghan Fowlie (meaghanfowlie) wrote :

... three years later ...

Still a problem on Xubuntu 19.04

Revision history for this message
Peter Klaus Schmelzer (desian) wrote :

It is still an issue..
2020-10-20 Xubuntu 20.04

Sean Davis (bluesabre)
Changed in xfce4-panel (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.