[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Demexp-dev] Re: Issue to execute example of ocaml-gettext
From: |
David MENTRE |
Subject: |
[Demexp-dev] Re: Issue to execute example of ocaml-gettext |
Date: |
Sat, 14 Jan 2006 19:44:52 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
David MENTRE <address@hidden> writes:
> If I give ../build/share/locale/ as directory, I get exception
> Not_found:
> address@hidden:~/00-poubelle/ocaml-gettext-0.2.0/examples/program$ ./program
> --gettext-dir ../build/share/locale/ --gettext-language fr --my-name David
> Fatal error: exception Not_found
Strange, it appears that if I launch "program" as follow (without
"--gettext-language fr" option), the GUI string is correctly translated
in French.
address@hidden:~/00-poubelle/ocaml-gettext-0.2.0/examples/program$ ./program
--gettext-dir ../build/share/locale/ --my-name David
Hello David
In fact, the translation works if I provide exact "fr_FR.UTF-8"
locale. Otherwise, exception Not_found is raised.
address@hidden:~/00-poubelle/ocaml-gettext-0.2.0/examples/program$ ./program
--gettext-dir ../build/share/locale/ --gettext-language fr_FR.UTF-8 --my-name
David
Hello David
address@hidden:~/00-poubelle/ocaml-gettext-0.2.0/examples/program$ ./program
--gettext-dir ../build/share/locale/ --gettext-language fr_FR --my-name David
Fatal error: exception Not_found
address@hidden:~/00-poubelle/ocaml-gettext-0.2.0/examples/program$ ./program
--gettext-dir ../build/share/locale/ --gettext-language fr --my-name David
Fatal error: exception Not_found
Any explanation on this behaviour? I though that setting LANG=fr would
suffice.
Best wishes,
d.
--
address@hidden