1 martha Jan 23, 2009 05:27
3 chris_of_arabia Jan 23, 2009 09:43
Just piggy-backing on this for a moment, has anyone done alternative calendar layouts for parts of the world where the weekend is not on Sat/Sun? For instance, weekend here in Saudi is Thu/Fri, in Bahrain and most of the rest of the Middle East, it is Fri/Sat. I'm guessing other versions may be available elsewhere. If not, then it sounds like a worthwhile challenge for someone somewhere, but perhaps not me with my level of skills.
4 chris_of_arabia Jan 23, 2009 09:57
Ignore me, just worked it out.
You might want to create a new locale (like possibly "English-ME") then create a 'translation' that only translates the bits you want. That would work and would be, for all practical purposes, not a hack. Or you might try to edit inc/_vars.inc.php around line 228 and change what it says where it says the name of each month. The funny thing here is that it is saying NT_('January') and I thought NT meant "not translated" although those bits show up in the localization files (global.php files in a locale subfolder). This would also be a hack you would have to remember and think about if/when you upgrade.
Personally I think the second is easier but the first is more correct.
Oh and honestly I've no idea if the second will work or how to do the first. But hey it's maybe a starting point yah?