Incorrect date layout

Bug #47870 reported by David Prieto
28
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned
language-pack-gnome-es-base (Ubuntu)
Fix Released
Medium
Ubuntu Spanish Translators

Bug Description

Binary package hint: gnome-applets

Taken from Ubuntuforums:

"I'm an spanish user and today is "jueves 1 de Junio" so on the panel should be "jue 1 de jun" Instead of that i see "jue jun de 1".

Please, correct it ASAP since it's a very obvious bug for anyone in Spain.

Changed in gnome-applets:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

That's a gnome-panel translation issue, reassigning

Changed in gnome-applets:
assignee: nobody → ubuntu-l10n-es
Revision history for this message
Patrick (patrick-voegeli) wrote :

same here. It's curious that the date layout has been ok since I use dapper (flight 4) and "breaks" when the final release comes out :P

Revision history for this message
David Prieto (frandavid100-gmail) wrote :

I'll bet it was in English until yesterday. After all, it just said May didn't it? Er... I don't remember which language the day of the week was, anyway.

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

It's not a translation error

Changed in language-pack-gnome-es-base:
status: Confirmed → Rejected
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Something is wrong here...
Spanish have:
msgid "%a %b %e"
msgstr "%a %e de %b"

And from the strftime manpage:

%a The abbreviated weekday name according to the current locale.
%b The abbreviated month name according to the current locale.
%e Like %d, the day of the month as a decimal number, but a leading zero is replaced by a space. (SU)

That means that in English it will show:

Thu Jun 1

And Spanish will show:

Jue 1 de Jun

but the panel shows:

Jue Jun de 1

That's something wrong with the locale data... would be a bug with belocs?

Changed in gnome-applets:
status: Unconfirmed → Confirmed
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

The problem is in the es_ES locale.

The "es" template is correct, but the es_ES has that error.

See:

https://lists.ubuntu.com/archives/ubuntu-es-l10n/2006-June/000430.html

Someone translated gnome-panel-2.0 template incorrectly in es_ES. The "es" template is correct, but es_ES has priority over "es":

ricardo@yuggoth:~ $ echo $LANGUAGE
es_ES:es:en_GB:en

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

By the way: I just cleaned the gnome-panel-2.0 template in es_ES (now it has no translated strings), so the problem must disappear in the next langpacks updates (the next month?).

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Ricardo is right, I cannot believe I missed that option...

Thanks Ricardo!

Changed in gnome-applets:
status: Confirmed → Rejected
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Yeah, next month it should appear fixed with the new language pack.

Changed in language-pack-gnome-es-base:
status: Rejected → Fix Committed
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Carlos: can you disintegrate all the templates from es_ES locale in Rosetta? IMO, the es_ES locale only brings problems.

Or, at least, make sure that gnome-panel-2.0 template is deleted completely from es_ES locale. The template now has a translated string, but I can't delete that translation (Rosetta refuses to delete it, I don't know why):

https://launchpad.net/distros/ubuntu/dapper/+source/gnome-panel/+pots/gnome-panel-2.0/es_ES/+translate?alt=es&show=translated

It's the string #86.

Thanks a lot.

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Yes, we can do that, but you need first to migrate all translations from 'es_ES' to 'es' so no translations are lost.

After that, send me an email and I will request a removal of es_ES pofiles.

Take into account that there are some situations, that the es_ES should be there to handle things like numeric values or time values that are specific for Spain and are not shared with other Spanish countries. (Those are really bugs in applications, they should be using other locale information to generate them, instead of mark them to be translated).

Cheers.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Reopened due to an issue that looks like a langpack generation problem.

Changed in language-pack-gnome-es-base:
status: Fix Committed → Confirmed
Revision history for this message
Ricardo Pérez López (ricardo) wrote :
Changed in language-pack-gnome-es-base:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
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.