From: Michel <mi...@la...> - 2002-11-07 08:29:49
|
Jared wrote : > This is why, despite localization, Apple has chosen iCal to have a > separate preference for the week start day. As Chad said, we could put > a default value in the language file with the option to change it in > the config file. Sorry to insist on that point because it's the only point that remain preventing us adding a language view feature in phpiCal. Apple start day of the week in iCal works in the main window doesn't work in the month calendar view on the left side. But it works very well in phpiCal. ;-) Maybe because in Apple's iCal, start day of the week is hard coded in the mainframe function. The only reason why Apple choose to put start day of the week in iCal pref is because nowhere in the main System preferences such a feature is present. The reason is because Calendar functions or programs were not present in previous system versions and iCal has been released after Jaguar. But that preference could have been already set in the Language pref. NONE english country have their start day of the week other that sunday, NONE french, german or italian speaking country have their start day other than monday. It's like 24/12 format time or metric system: it's stuck to the language. You have to know that foreign country with english as primary language (like in africa), they adopt the same habits as in US or OK: non metric system, 12 time format, and sunday as start day of the week. So forget my Australian example. That was a bad idea. There is no exception, or souldn't be. But if config.inc.php override the language pref as Chad proposed we will lost all the benefit. The best is to invite webmaster to change a " custom.inc.php " file in the language directory and set this file as prefered language in his conf.inc.php if no language file correspond to their need (if ever). So visitors will have the possibility to change their language view. And with their $_cookie_pref_language, phpical will be able to display the week days as desired. Mike. |