date translated in an English system with Italian localization

Bug #1072019 reported by Fabio Marconi on 2012-10-27
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
GLib
Won't Fix
Medium
GNOME Shell
In Progress
Medium
Indicator Date and Time
In Progress
Undecided
Gunnar Hjalmarsson
indicator-datetime (Ubuntu)
Medium
Unassigned

Bug Description

Release of Ubuntu:12.10
Package Version: gnome-control-center 3.4.2 and 3.5.x
Expected Results: system language setting needs to be respected
Actual Results: date is translated following the reginal format settings

Hallo
I want to have my system fully in English, but actually the date is translated in Italian.
I think that this depend on the fact that I choose Italian in regional format (but just to have numbering and currency that I use), I don't want to have the date translated into another language.
See attached screenshot.

Thanks
Fabio

ProblemType: BugDistroRelease: Ubuntu 12.10
Package: language-selector-gnome 0.90
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Sat Oct 27 10:58:20 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnome-language-selector
InstallationDate: Installed on 2012-10-12 (14 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20121011)
InterpreterPath: /usr/bin/python3.2mu
MarkForUpload: True
PackageArchitecture: allSourcePackage: language-selector
UpgradeStatus: Upgraded to quantal on 2012-10-13 (14 days ago)

Related branches

Fabio Marconi (fabiomarconi) wrote :
Fabio Marconi (fabiomarconi) wrote :

confirmed from upstream report

Changed in language-selector (Ubuntu):
status: New → Confirmed
description: updated
Changed in language-selector:
importance: Unknown → Medium
status: Unknown → Confirmed
affects: language-selector → gnome-shell
Gunnar Hjalmarsson (gunnarhj) wrote :

Fabio,

Thanks for your effort to improve Ubuntu by reporting this issue!

I agree on your description, and that it's a bug, but I would not consider it to be a language-selector bug. Rather this problem is about many date/time displaying apps that simplify too much. In this case I think it's the indicator-datetime package that needs to be tweaked, so I changed the affected distro accordingly.

While awaiting that somebody fixes the bug, I suggest that you open Language Support, click the Help button and go to the "Advanced format settings" section. Setting LC_TIME to "en_DK.UTF-8" may give the desired result for you.

affects: language-selector (Ubuntu) → indicator-datetime (Ubuntu)
Changed in indicator-datetime:
status: New → In Progress
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
Gunnar Hjalmarsson (gunnarhj) wrote :

I have proposed some code changes to indicator-datetime, which I think fix this bug. There is a 12.10 build including the proposed changes in my PPA, so to test the fix you can download indicator-datetime from there: https://launchpad.net/~gunnarhj/+archive/misc

Fabio Marconi (fabiomarconi) wrote :

Hallo Gunnar
Thansk for the fix, it works on my system, datetime and calendar are correctly shown.
Fabio

Gunnar Hjalmarsson (gunnarhj) wrote :

Hi Fabio,
Thanks for testing and letting us know about the result.

Fabio Marconi (fabiomarconi) wrote :

Yes, as the screenshot above display, it fix perfectly on Quantal.
On Raring it is working only partially, meaning that it fix only the notify area display, but not the calendar that still in Italian as showed in the next screenshot
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Gunnar Hjalmarsson (gunnarhj) wrote :

To me the calendar is shown in the current language also in Raring.

If I remember it correctly, the calendar wasn't instantly shown in the current language when I tested the fix (in Quantal). After a few logouts/logins - possibly including language switches - it suddenly started to work. Please don't ask me why. ;-)

Changed in glib:
importance: Unknown → Medium
status: Unknown → New
Gunnar Hjalmarsson (gunnarhj) wrote :

I wrote a glib patch which can be seen as an alternative fix of this bug, and would replace the proposed changes to indicator-datetime. The glib patch is attached to https://bugzilla.gnome.org/show_bug.cgi?id=687945
Please note, though, that the glib patch is not effective as regards names of days and months in the indicator-datetime calendar.

For the case you want to test the alternative fix, Raring builds of glib including the patch are available in my PPA at https://launchpad.net/~gunnarhj/+archive/misc

Changed in glib:
status: New → Won't Fix
tags: added: raring
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1072019

tags: added: iso-testing
Gunnar Hjalmarsson (gunnarhj) wrote :

This bug won't be fixed before the 13.04 release, but there is a good chance that a fix during next development cycle will make it to 13.04 through an SRU.

I have uploaded to my PPA a fresh version of indicator-datetime for Raring including a fix. Please feel free to install it from https://launchpad.net/~gunnarhj/+archive/misc and test it.

Fabio Marconi (fabiomarconi) wrote :

Hallo Gunnar
I'm testing it and it seems to works very well.
I will update if the case.
Thanks
Fabio
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

tags: added: rls-s-tracking
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for letting us know, Fabio.

tags: added: saucy
Fabio Marconi (fabiomarconi) wrote :

Hallo Gunnar
Testing Ubuntu kylin installation I found that:
I installed Ubuintukylin in Italy, Ubiquity detect that I'm in Italy and automaticallyset the system.
Once system is installed, everything is in Chinese but the calendar is translated in Italian.
Regards
Fabio
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in indicator-datetime (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in gnome-shell:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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