[Unison-hackers] internationalization

Oyaji lachat at okazoo.eu
Fri Apr 16 06:13:12 EDT 2010


Hello,

On 04/14/2010 08:46 PM, Sylvain Le Gall wrote:
>
> There are ways to build with ocaml-gettext, without ocamlfind. Just go
> ahead with the your current solution. I will fix whatever is needed at
> the end.
>
>   

OK, thank you.

>
> You can use LANG=fr_FR.UTF-8. If you are talking about the location of
> the .mo files, I have another trick around with an environment
> variables. 
>
> replace the dir variable in uigtk2Gettext.ml by
>
> let dir = 
>   try 
>     Some (Sys.getenv "UNISON_GETTEXT_DIR")
>   with Not_found ->
>     None
>   end
>
> It should work, you just have to set UNISON_GETTEXT_DIR to the right
> path of .mo files.
>
>   

I'm sorry but both of them don't work on my laptop. My learning of ocaml
was some years ago, so I don't see where is the problem.
The tarball contains all the modifications :
http://www.okazoo.eu/~lachat/unison-2.32.52_modified.tgz

> If you want, I can review your changes, before you send it to the Unison
> team. I proposed to do the unison i18n by myself some time ago, but I
> still don't have enough time. I still wish to help.
>
>   

It will be a pleasure to send you first.

> Regards,
> Sylvain Le Gall
>   

Kind regards,
Cédric Lachat.


More information about the Unison-hackers mailing list