Re: [Bug 2098] Re: calendar - week starts on the wrong day for locale

2007-05-31 Thread Thurston

On Wed, 30 May 2007 11:30:37 -, Kristoffer Lundén
[EMAIL PROTECTED] said:

 Is there any easier way to configure this without installing localeconf
 and messing around with that?

I've not found one.

My only suggestion is that you complain to the Gnome panel applet team
loudly.  The current design of depending on the locale is broken in my
opinion.  Thanks for your email, Toby
-- 
  Toby Thurston
  [EMAIL PROTECTED]

-- 
calendar - week starts on the wrong day for locale
https://bugs.launchpad.net/bugs/2098
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2098] Re: calendar - week starts on the wrong day for locale

2007-05-30 Thread Kristoffer Lundén
Not fixed for en_SE (not existing still), but using en_GB finally gives
me a calendar starting on Monday at least. Just hope there are no ill
side effects otherwise.

Is there any easier way to configure this without installing localeconf
and messing around with that?

-- 
calendar - week starts on the wrong day for locale
https://bugs.launchpad.net/bugs/2098
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2098] Re: calendar - week starts on the wrong day for locale

2007-04-02 Thread Martin Pitt
I just noticed that this is already fixed in Feisty.

** Changed in: langpack-locales (Ubuntu)
   Status: Confirmed = Fix Released

-- 
calendar - week starts on the wrong day for locale
https://bugs.launchpad.net/bugs/2098
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2098] Re: calendar - week starts on the wrong day for locale

2007-01-24 Thread Colin Watson
** Changed in: libc (Ubuntu)
Sourcepackagename: libc = langpack-locales

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2098] Re: calendar - week starts on the wrong day for locale

2006-10-20 Thread Paul Dufresne
Confirming based on Paul Sladen comment.
Please keep in mind that anybody can confirm a bug.

** Changed in: libc (Ubuntu)
   Status: Unconfirmed = Confirmed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2098] Re: calendar - week starts on the wrong day for locale

2006-10-10 Thread Thurston
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2098] Re: calendar - week starts on the wrong day for locale

2006-10-10 Thread Kristoffer Lundén
Does this mean that for me (Sweden), there's just an appropriate en_SE
entry missing (as DK for instance has one)? Would adding one make this
just work(TM) when choosing language and location as before?

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2098] Re: calendar - week starts on the wrong day for locale

2006-10-10 Thread Thurston
Yes.

I don't think that the standard locales package provides en_SE, so you
are free to add one (with the proviso that it might get deleted when you
upgrade any package that thinks it owns the locale directories).

Just copy a suitable starting point, say en_DK, edit it to make it say
what you want, then recompile as above subtituting en_SE for en_GB in my
instructions.  You would need to copy the whole of the output directory
produced instead of just the LC_TIME part.

You may find that some non-GTK X applications complain about your locale
though.  Normally this means that they will defauilt to the C locale.
You may need to do some more investigation.

You might also try to get en_SE added to the locales package.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs