Hi , > Next, I want to translate the on-line help in html/help/*.html into > Japanese. But I don't know how to switch the on-line help to other > languages. That should work by using filenames like admin_show_jp.html instead of the default admin_show.html > The followings are other general localization issues. > > 1) The date format is now dd/mm/yyyy (European custom?). > In the US, it's mm/dd/yyyy. In Japan, it's arguably yyyy/mm/dd. > So I changed it in ja.p3 as > $lang['DateTimeStr'] = "%Y/%m/%d %H:%M %Z"; > But I don't know how to change this in the calendar and > other input places with 'minical'. There are more TimeFormat strings $lang['DateTimePHP'] = "d/m/Y H:i T"; $lang['DateTimeStr'] = "%d/%m/%Y %H:%M %Z"; $lang['DateTimeFormat'] = "%s/%s/%s %02s:%02s %s"; # $lang['DateTimeSPHP'] = "d/m H:i"; $lang['DateTimeSStr'] = "%d/%m %H:%M"; $lang['DateTimeSFormat'] = "%s/%s %02s:%02s"; # $lang['TimeFormatPHP'] = "H:i T"; $lang['TimeFormatStr'] = "%H:%M"; $lang['TimeFormat'] = "%02s:%02s"; # $lang['DateFormatTitle'] = "%A, %e. %B %Y"; $lang['DateFormatStr'] = "%d/%m/%Y"; $lang['DateFormat'] = "%s/%s/%s"; $lang['DateShortFormat'] = "%s/%s"; You should change all of them and also have a look on en-us.p3 $lang['DateFormat'] = "%2\$s/%1\$s/%3\$s"; $lang['DateShortFormat'] = "%2\$s-%1\$s"; where we use place numbers to change the order of display > 2) It seems that given-name/surname order is fixed. > In Japan, and I believe in many countries, the order is > surname/given-name. So the name fields look weird in many places. Up to know there is no solution that part is still hardcoded but could (hopefully easily changed) > Of course, I can change the above by modifying *.php. > I'd appreciate, however, that if we can change this kinds of > country specific things by a convenient way. > (Does PHP have a mechanism like gettext ?) Yes it has if PHP is compiled with it. The problem is the wide varity of different versions and extensions out in the user space. So we have to limit the features used in TUTOS to a small common base of functions available. > BTW, although there are many groupware written by PHP, > I think TUTOS is the best. |