After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 659185 - Calendar drop down date is weird with English language+Netherlands region
Calendar drop down date is weird with English language+Netherlands region
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: calendar
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gnome-shell-maint
: 665306 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-09-15 20:41 UTC by Olav Vitters
Modified: 2015-04-22 09:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olav Vitters 2011-09-15 20:41:08 UTC
In System Settings, I have Language as English, and region as Netherlands.

If I click on the calendar drop down, it gives me:
"donderdag september 15, 2011"
which is a weird combination of Dutch words and the English date order. This is really strange. I expect either fully Dutch way, or English, not this mix and match. For example:
English: "Thursday September 15, 2011"  (English words)
Dutch: "donderdag 15 september 2011"  (Dutch order)

System Settings has the following example dates:
"donderdag 15 september 2011"
"15 sep 2011"
"15-09-2011"

$ date
do sep 15 22:37:38 CEST 2011

$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC=nl_NL.utf8
LC_TIME=nl_NL.utf8
LC_COLLATE="en_US.utf8"
LC_MONETARY=nl_NL.utf8
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=nl_NL.utf8
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

gnome-shell 3.1.91.1
Comment 1 Matthias Clasen 2011-09-15 22:35:35 UTC
I guess this is probably the result of the shell using gettext to translate the format string, so the selection of the format is governed by LC_MESSAGES, and then feeding it to g_datetime_format(), which is paying attention to LC_TIME
Comment 2 Florian Müllner 2011-09-15 23:24:43 UTC
(In reply to comment #1)
> I guess this is probably the result of [...]

Admit it, you cheated and looked at the code :-)
Comment 3 Matthias Clasen 2011-09-16 17:24:17 UTC
So, the fix for this is likely going to be ugly, since it would require you to use dgettext - and figure out how to convince our build infrastructure to install LC_TIME translations.
Comment 4 Florian Müllner 2011-12-01 17:51:21 UTC
*** Bug 665306 has been marked as a duplicate of this bug. ***
Comment 5 Florian Müllner 2012-07-27 22:58:31 UTC
That was fixed a while ago when moving to GnomeWallClock.
Comment 6 Bruno Finger 2015-04-22 09:05:06 UTC
I am experience this issue with GNOME Shell 3.14.4 from Ubuntu GNOME 15.04 64-bits.