From: Arno H. <aho...@xm...> - 2001-02-06 12:11:33
|
> Hardcoded translations, putting inside the php a special mark > and them with a program that preprocess all this marks and translating > all before uploading. After that no need to call funcs neither gettext > or what others have: a SQL text table, tons of variables... Hm - the gnu textutils save us a lot of headaches. It's easy to keep the=20 files up to date, .... If you have problems with php's safemode then I suggest the following: replace all occurneces of gettext() with mygettext() and modify the gette= xt=20 check in config.php, so that your mygettext() is used. I've attached a perl-script for doing replaces on a file list. Quite handy tool -- you have to know perl regexps -- just be careful and=20 don't forget to escape regexp chars like '('. I suggest making a backup o= f=20 the files first. /Arno =00 |