HTML-formated Errors (see below) are returned instead of well formed XML.
Is this already solved in a later Version of eGroupware or is this a special
setting that causes this behaviour ?
kontact: ERROR: Result: <br />
<b>Warning</b>: Invalid argument supplied for foreach() in
<b>/home/httpd/localhost/htdocs/egroupware/addressbook/inc/c
lass.boaddressbook.inc.php</b> on line <b>392</b><br />
translation file (only those not translated in simplified Chinese).
This is because
1) most simplified Chinese readers can read traditional
Chinese. If some phrase doesn't have simplified Chinese translation,
egroupware better fall back to traditional Chinese then English.
2) Translation can be easier (just pick up the unfamiliar traditional
translation and change to simplified form)
The change is made by using
> find . -type d -name "setup" -exec /tmp/merge_tradition.sh {} \;
where merge_tradition.sh is:
#!/bin/sh
cd $1
if [ -f phpgw_zh.lang ] && [ -f phpgw_zt.lang ]; then
mv phpgw_zh.lang phpgw_zh.lang.old
join -a 1 -t " " phpgw_zt.lang phpgw_zh.lang.old | \
awk -F " " \
'{ OFS = FS; if (NF == 7) print $1, $5, $6, $7; else print $0 ;}' \
> phpgw_zh.lang
fi
Kiang if you like the idea you can merge my translation to your lang
file too. And it's even better if the language engine can be changed in
the way that, as a phrase has no translation for current language,
choose the nearest language before falling back to English. Say, when no
translation in zh, use zt before trying English.
Could it be better that this apply to pt too? (pt-br and pt)
Translation of Traditional Chinese in UTF-8 version
I've tested it with the version RC5. Somebody in taiwan
who offered a series of functions to convert the
encoding from big5 to utf-8. It works fine~ Should I also
upload it for anyone who would like to understand the
big5 encoding??
addressbook/inc/class.uiaddressbook.inc.php in the line
161 remove this:
size="3"
On my installation there are 15 categories, a user has
to scroll down to find approprate category, size="3"
for category select box is too limited. Does not
specify size makes mozilla provide a select box just
fit it's content. Don't know how it would be in IE.