A work around...

You need to find a locale with "first_weekday 2" in the LC_TIME section.
Try this:
   grep first_weekday /usr/share/i18n/locales/* | grep en_

and you should get ... 
/usr/share/i18n/locales/en_AU:first_weekday 1
/usr/share/i18n/locales/en_CA:first_weekday 1
/usr/share/i18n/locales/en_DK:first_weekday 2
/usr/share/i18n/locales/en_GB:first_weekday 1
/usr/share/i18n/locales/en_HK:first_weekday 1
/usr/share/i18n/locales/en_IE:first_weekday 2
/usr/share/i18n/locales/en_IN:first_weekday 1
/usr/share/i18n/locales/en_NZ:first_weekday 1
/usr/share/i18n/locales/en_PH:first_weekday 1
/usr/share/i18n/locales/en_SG:first_weekday 1
/usr/share/i18n/locales/en_US:first_weekday 1
/usr/share/i18n/locales/en_ZA:first_weekday 1

so if en_DK or en_IE is OK for you then use that.

If you really want to stay with en_GB, and you can't wait for them to
fix this upstream, then you can patch your own copy of en_GB and
recompile it.  Like this:

cd ~
cp /usr/share/i18n/locales/en_GB  .

then edit ~/en_GB and change the line that says
 first_weekday 1 
to
  first_weekday 2

next use localedef to recompile it. Like this:

  cd ~
  mkdir locale
  localedef -c -i en_GB -f UTF-8 locale/en_GB.utf8

when it is done, overwrite the relevant LC_TIME component with your new
one

  sudo cp ~/locale/en_GB.utf8/LC_TIME /usr/lib/locale/en_GB.utf8/

Use at your own risk, but it works for me (Dapper 6.06).  See attached
screenshot




** Attachment added: "A view of the calendar with patched en_GB"
   http://librarian.launchpad.net/4729728/Screenshot-Calendar-1.png

-- 
calendar - week starts on the wrong day for locale
https://launchpad.net/bugs/2098

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to