On Tue, May 28, 2002 at 10:23:09AM +0200, pp wrote:
> > Gettext has some good features - speed, standards (we could use any of
> > standard tools to translate language files), but we have to put
> > translated file somewhere into filesystem tree and configure admin
> > interface.
> > 
> > We can use some "standard" paths for this (/usr/share/locale,
> > /usr/local/share/locale), and just ./configure it...
> 
> Good idea, but only for standard use. Do not forget about users
> who will change all locale messages for their own use.
:) Look at gettext manual, there you'll find several functions which allow
to specify location of message catalogues.

For example, bindtextdomain(domainname, directory) allows to tune gettext
to look at message catalogues in $directory when message catalogue with
$domainname is requested. Using it you can put message catalogues
whereever you want.

-- 
/ Alexander Bokovoy
Software architect and analyst             // SaM-Solutions Ltd.
---
Coming together is a beginning;
        keeping together is progress;
                working together is success.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to