[imp] Problem with DIMP and fr_FR

Gregory Colpart reg at gcolpart.com
Wed Jul 28 00:32:07 UTC 2010


On Sun, Jul 25, 2010 at 03:55:25AM +0200, Gregory Colpart wrote:
> On Sun, Jul 18, 2010 at 12:26:22AM +0200, Gregory Colpart wrote:
> > 
> > I have a strange problem with DIMP and fr_FR:
> > impossible to have DIMP texts in french...
> > 
> > Some details:
> > 
> > - I use Horde 3.3.8, IMP 4.3.7 and DIMP 1.1.4 on Debian.
> > - I test it on 2 differents servers.
> > - French locales are well generated, and Apache restarted (even
> >   system rebooted in fact).
> > - I have french texts for Horde and IMP... but not DIMP.
> > - For spanish or italian, DIMP works well!
> > - I tried to regenerate dimp.mo from fr_FR.po, to regenerate
> >   fr_FR.po and translate only 2 or 3 texts... without success.
> > 
> > Any idea for me?
> 
> No idea/answer for me, then I explain how I regenerate dimp.mo:
> 
> 1. delete all .po / .pot files
> 2. ./translation.php extract --module=dimp
> 3. ./translation.php init --module=dimp --locale=fr_FR --no-compendium
> 4. vim ../dimp/po/fr_FR.po and add some translations
> 5. ./translation.php cleanup
> 6. ./translation.php update --module=dimp --locale=fr_FR --no-compendium
> 7. ./translation.php make --no-compendium
> 6. cd ../dimp/po/
> 7. msgfmt fr_FR.po
> 8. rename messages.mo to the right path and restart Apache
> 
> Always no translation. What am I doing wrong?

Problem was... with imp.mo! It's not very clear for me but
dimp.mo is very dependant with imp.mo. My imp.mo was modified to
fix translation errors and it worked... but it broke DIMP
translation! With original imp.mo, it's OK.

Regards,
-- 
Gregory COLPART <reg at gcolpart.com>  GnuPG:1024D/C1027A0E


More information about the imp mailing list