[imp] IMP give charset=iso-8859-1 when using language other then english

Hammad hammad@brisksolutions.com
Fri Nov 29 08:48:29 2002


Okay, I read the po/README file and run the following test.

<?php
setlocale(LC_MESSAGES, 'fr_FR');
putenv('LANG=fr_FR');
putenv('LANGUAGE=fr_FR');
// use the tar test.
echo dgettext('tar', 'Addressbook');
echo '<br />';

// Specify location of translation tables
bindtextdomain('horde', './locale');

// Choose domain
textdomain('horde');

// Print the already tested message
echo _("Addressbook");
echo '<br />';

// this should print the same.
echo dgettext('horde', 'Addressbook');

?>

This is what It prints:

Addressbook
Carnet d'addresses
Carnet d'addresses

Any idea why didn't it translate the file text?

BTW: I reinstalled "gettext", thought that might solve the problem but same 
thing.


-Hammad




More information about the imp mailing list