[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Demexp-dev] Re: Another issue with ocaml-gettext --action merge
From: |
David MENTRE |
Subject: |
[Demexp-dev] Re: Another issue with ocaml-gettext --action merge |
Date: |
Wed, 25 Jan 2006 18:44:25 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Hello Sylvain,
"Sylvain Le Gall" <address@hidden> writes:
> Well, ocaml-gettext (the program) is not the perfect tool at all. In
> particular it as many issue with multi byte string (such as
> UTF-8).
I don't mind, as long as there exist a work-around (which you provide in
that particular case).
> Please send me the two files you are trying to merge, i will try to see
> if i can solve the issue.
Please find the file demexp.pot and fr.po attached to this email.
> For now, you can use the native gettext (msgcat) program to merge the two file
> (which doesn't suffer the same multi byte problem).
Thank you for the fix. I'm using now in my Makefile:
%.po: $(POTFILE)
msgcat --output-file=$@ $@ $(POTFILE)
po/fix-po-comments-for-ocaml-gettext $@ > address@hidden
mv address@hidden $@
This works nice.
> This bug is not related to the camomile bug.
>
> FYI, this bug can be solved by using ulex (i think you know it) to
> handle multi byte string, but for now, i don't have time to use it.
I know that PXP and maybe CDuce are using ulex, but I've never looked at
it. I'm leaving all those issues to others, that's why I'm using
external libraries. ;)
Second issue solved! :)
Best wishes,
d.
--
address@hidden
demexp.pot
Description: Text document
fr.po
Description: Binary data