From: Jan Nieuwenhuizen <janneke@gn...> - 2001-12-09 20:42:43
Laurent Rathle <laurent@...> writes:
> I'm doing a french translation of phpwiki and I would like to test
That's nice. Have you checked with the phpwiki folks so that you're
not duplicating this effort?
> I've tried to change "C" into "de" or "nl" in lib/config.php to see
> PhpWiki in other languages, I always fall on english. I've got the
> goos repertories (locale/de, ...) and they are accessible for the
> web server (good permissions). I've certainly forgot something, but
> what ?
There are some problems with certain versions of php and phpwiki. What
versions do you have?
> Could you help me ?
First, you should try to get gettext to work in a simple page. Try:
bindtextdomain ("libc", "/usr/share/locale");
print (gettext ("cannot open"));
bindtextdomain ("phpwiki", "/var/www/wiki/locale");
print (gettext ("None"));
save this as gettext.php, and run:
21:37:52 fred@...:~/public_html$ php4 gettext.php
kan niet openen
The first string, `cannot open' should always work; then try to get
the phpwiki to work.
> If you are interested, I can send you the translation when it's finished.
Better send it to the phpwiki list directly.
Jan Nieuwenhuizen <janneke@...> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org