gettext in library

From: Date: Sat, 22 May 2004 14:51:05 +0000
Subject: gettext in library
Groups: php.i18n 
Request: Send a blank email to php-i18n+get-719@lists.php.net to get a copy of this message
Hello, I'd like to use gettext in a library. That is, to have the po files in a directory of the library. The problem is that php programs that use this library will also have their po files in another directory. Then, the program will do their bindtextdomain() call and the library will do another different bindtextdomain() call. How can I manage this?. I mean, what can I do so PHP server knows where to find the po of the text included in the library and also to find the po of the text included in the application? Any of you use gettext to translate libraries? I have only seen using the text array method. Thanks a lot. Alfonso Cepeda Caballos.

« previous php.i18n (#719) next »