Day names in calendar view not translated

Bug #926395 reported by Jonathan Davies on 2012-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Invalid
High
Unassigned
Ubuntu Translations
Low
Unassigned
indicator-datetime (Ubuntu)
High
Unassigned

Bug Description

For some reason, the day names in the indicator-datetime applet are not translated to language the desktop is set in.

Attached is a screenshot showing the English names on a German system.

I'm also seeing the English names on another system set to Russian.

Jonathan Davies (jpds) wrote :
description: updated
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what Ubuntu version do you use?

Changed in indicator-datetime (Ubuntu):
status: Triaged → Incomplete
Sebastien Bacher (seb128) wrote :

I can't confirm that in french using oneiric or precise...

Changed in indicator-datetime:
status: New → Incomplete
importance: Undecided → High
Changed in indicator-datetime (Ubuntu):
milestone: ubuntu-12.04 → none
Sebastien Bacher (seb128) wrote :

the code use " strftime(longstr, 128, _("%A, %e %B %Y"), ltime);"

what environment do you use?
could you give the output of the command "locale"?
what about "strings /proc/$(pidof indicator-datetime-service)/environ | grep LC_" and "strings /proc/$(pidof indicator-datetime-service)/environ | grep LANG"

Jonathan Davies (jpds) wrote :

Precise; but I get the same on oneiric:

$ strings /proc/$(pidof indicator-datetime-service)/environ | grep LC_
LC_MESSAGES=ru_RU.UTF-8
LC_CTYPE=ru_RU.UTF-8
LC_COLLATE=ru_RU.UTF-8

$ strings /proc/$(pidof indicator-datetime-service)/environ | grep LANG
LANGUAGE=ru_RU:en_GB:en
LANG=en_GB.UTF-8

Jonathan Davies (jpds) wrote :
Sebastien Bacher (seb128) wrote :

thanks, the LANG is weird but from IRC discussion it does happen with a correct value as well, reopening that will need debugging

Changed in indicator-datetime:
status: Incomplete → New
Changed in indicator-datetime (Ubuntu):
status: Incomplete → New
Sebastien Bacher (seb128) wrote :

it's a bit similar to bug #729631 which was supposed to be fixed

Charles Kerr (charlesk) wrote :

On the surface, this doesn't appear to be related to bug #729631

indicator-datetime uses an IdoCalendarMenuItem for that calendar, and /that/ uses a stock GtkCalendar widget.

Jonathan, how does the calendar widget appear to you in other GTK+ apps -- translated, or untranslated?

Charles Kerr (charlesk) on 2012-03-26
Changed in indicator-datetime:
status: New → Incomplete
Gabor Kelemen (kelemeng) on 2012-04-09
Changed in ubuntu-translations:
status: New → Incomplete
importance: Undecided → Low
Jonathan Davies (jpds) wrote :

Charles: It matches whatever is set as the country in "Regional Format" section in the Language Support application.

For instance, if I have the system language set as German, but the regional format set as Russian. All the dialogues appear as German, but all the calendars have the appropriate Cyrillic names.

Changed in ubuntu-translations:
status: Incomplete → Invalid
Changed in indicator-datetime:
status: Incomplete → New
Bilal Akhtar (bilalakhtar) wrote :

So you mean to say you don't get day names in English anymore?

Jonathan Davies (jpds) wrote :

Bilal: Yes (which is what I expect when the regional format is set to RU).

Bilal Akhtar (bilalakhtar) wrote :

In other words, the bug is fixed? (Following along is tough with so many factors to consider!)

Changed in indicator-datetime:
status: New → Incomplete
Changed in indicator-datetime (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for indicator-datetime (Ubuntu) because there has been no activity for 60 days.]

Changed in indicator-datetime (Ubuntu):
status: Incomplete → Expired
Ted Gould (ted) wrote :

Marking as invalid as it's expired/invalid everywhere else.

Changed in indicator-datetime:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers