Thanks cepheus11
So
days and
abdays simply define a sequence of day names which start on the date nominated in
week? And it is
first_weekday and
first_workday which define the first day of the weeks. For completeness, this can be explored at the command line (I've reverted to the as-installed locale):
Code:
c@CW8:~$ locale day
Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday
c@CW8:~$ locale first_weekday
2
So the first day of the week is 1-based index 2 which is Monday. Not surprisingly then, the Slackware64 13.1 en_GB locale is set up correctly.
Thus the problem is in Orage but they say not so; from the
Orage FAQ:
This really is a problem in your distro. You can check how your operating system reports these to GTK+ and hence to orage, which uses strictly gtk calendar widget and does not tune these settings itself. Command locale first_weekday shows which day is the first day in your system. Usually Sunday is day number 1, but that can be changed so check that with command locale day, which shows days starting from day number 1. You may try with different LANG enevironment variable settings and calendar view in orage should change accordingly. Log a new bug for orage if you think it is not working correctly. Look more information from Xfce bug 1237 or from Debian bug 215466
If you are adventurous, you can actually fix these yourself. You need to find your locale definition file (like fi_FI or fr_FR). locate is your friend here and helps finding it. After that you can check what the setting is: grep first_weekday fi_FI and change that if it is wrong and after that you need to recompile your locale database.
It was that last paragraph that got me to fix the "ain't broke".
The Debian bug is from 2003 and is about a Finnish locale file not having first_weekday and first_workday lines.
The Xfce bug is closely related and has useful discussion but was closed in 2007 as invalid because Orage "
calls simply gtk_calendar_new ()" so if the calendar does not match the locale it is a GTK library problem. The
GtkCalendar API documentation does not mention locale.
Netsearching for GtkCalendar locale bugs found nothing.
Time to post to the
xfce4-dev@xfce.org mailing list, asking if there problem has been reported as a GTK bug ...