Unable to change the gnome clock applet to make the week start on monday

Asked by Rodrigo Donado

Hi:
after reading manual faqs and search google I came arround this recipy:
     $ sudo cp /usr/share/i18n/locales/es_ES /usr/share/i18n/locales/es_ES.bak
     $ sudo gedit /usr/share/i18n/locales/es_ES
Change:
     LC_TIME
     abday "<U0064><U006F><U006D>";"<U006C><U0075><U006E>";/
for:
     LC_TIME
     first_weekday 2
     first_workday 2
     abday "<U0064><U006F><U006D>";"<U006C><U0075><U006E>";/
save and do:
     $ sudo locale-gen
restart, and it should work,

well for me after doing the process it did not work, the clock week starts with sunday.

Any help would be apreciated

Question information

Language:
English Edit question
Status:
Solved
For:
GNOME Common Edit question
Assignee:
No assignee Edit question
Solved by:
Istvan Szekeres
Solved:
Last query:
Last reply:
Revision history for this message
Best Istvan Szekeres (szekeres) said :
#1

Does the locale without your modification work in command line?
E.g in a terminal:

[using the "C"] locale I get:

$ cal
      May 2007
Su Mo Tu We Th Fr Sa
       1 2 3 4 5
 6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

Using hungarian locale I get:

$ LANG=hu_HU.utf8 cal
     május 2007
h k sz cs p sz v
    1 2 3 4 5 6
 7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

As you can see the correct first day of week was displayed for me. Could you check it with your locale?
If you get an output like "cal: setlocale: No such file or directory" it means that your system has a problem with the selected locale.

If this works in the command line, you have to check whether the panel runs with the correct locale.

Revision history for this message
Rodrigo Donado (frezeeer) said :
#2

Thanks Istvan Szekeres, that solved my question.