Clock 2.18.1 - Spanish clock preferences are incompleted (Clock Type)

Bug #137832 reported by Felix
This bug report is a duplicate of:  Bug #51255: No 12-hour clock available in Colombia. Edit Remove
2
Affects Status Importance Assigned to Milestone
langpack-locales (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: clock-setup

I'm using the Spanish Language and the "Clock 2.18.1" aplication configuration: Preferences ->Clock Type -> 12 hour option, doesn't exist. There only exist the 24 hour option.

In order to solve this issue manually I have to do this:

Open the file:
sudo nano /usr/share/i18n/locales/es_XX

Where XX is the corresponding country code (CR, VE, AR, ES, etc...)

Replace these lines:

am_pm "";""
t_fmt_ampm ""

for these:

am_pm "<U0041><U004D>";"<U0050><U004D>"
t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
<U0020><U0025><U0070>"

safe the file and run this:

sudo locale-gen

then, restart ubuntu.

Please fix this issue.

Regards

Félix

Revision history for this message
Colin Watson (cjwatson) wrote :

clock-setup is an installer component not relevant to this bug. You want langpack-locales instead:

$ dpkg -S /usr/share/i18n/locales/es_ES
locales: /usr/share/i18n/locales/es_ES@euro
locales: /usr/share/i18n/locales/es_ES
$ apt-cache show locales | grep ^Source:
Source: langpack-locales

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.