[Unison-hackers] internationalization

Sylvain Le Gall sylvain at le-gall.net
Fri Apr 16 11:44:22 EDT 2010


Hello,

On 16-04-2010, Oyaji <lachat at okazoo.eu> wrote:
> On 04/14/2010 08:46 PM, Sylvain Le Gall wrote:
>>
>> 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
>

I think you try to test your translation? If this is the case, I can do
something where you will just have to run unison and it will load your
translation. Is this what you want?

Maybe we can continue in private mail?

Regards,
Sylvain Le Gall



More information about the Unison-hackers mailing list