From: Chad <ch...@ch...> - 2002-11-07 16:45:45
|
There isn't any reason these cannot be three tiered. cookie takes precedence over config and lang file config takes precedence over lang file if neither, lang file is used I don't see why this wouldn't solve all problems. User selects a language to view in, it falls to the start day in the file, but if they still want they can change it with their cookie. The admin can set what they want in the config if they want to override our defaults. -C On Thursday, November 7, 2002, at 02:27 AM, Mike wrote: > Jared wrote : > >> I disagree. It's not stuck to the language but rather the country. >> The US has the week start on Sunday. If someone in the US prefers >> their calendars to be viewed in French or German, why should the week >> start be on Monday? The calendar is still a US calendar. > > This is your point of view. But remember: start week of the day > doesn't affect the calendar results themselves! It's just for VIEWERS' > convenience, just to fit people's mind. Just like translation or > 24/12. So why stuck 24/12 in the language file and not week days ? 24h > is not part of the US calendar and someone watching your calendar with > "French view" would see 18h30: Japanese. Even if he lives in the US > and is used to 12h time format. That's the same thing. Week days are > just something everyone learn at school and are used to. So if you, > Jared, come to France, you will be a little confused to see a french > week view even with english day manes on it if you choosed the "US > view". Because it's not convient for you. > > > >> It is very common for a language to be stuck to a country as well, >> but they aren't tied as tightly together and bilingual people might >> want to choose. > > For bilingual persons it's another deal. Not a big deal, because > they're used to see both ways of displaying calendars. When french > speaking Quebec people, and they're numerous, come to our websites > hosted in France, they're used to see things the French way: 24, > metric system, Euro, monday, etc... When they surf on US website they > see thing differently. Quebec webmaster, will be able to have a custom > mixed French/12h/sunday calendar with the custom.inc.php file I > mentioned for the convenience of their Quebec visitors. It's still up > to the webmaster! > > That's a very little thing to change, and that would allow "Prefered > view language" feature. Without that change, "Prefered view language" > feature is a nonsense and is useless too. > > Mike. > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |