[Gambas-user] [Git][gambas/gambas][master] Do not put '*.mo' files in '.gitignore' file. They are needed!

Adrien Prokopowicz adrien.prokopowicz at gmail.com
Wed Feb 14 23:27:32 CET 2018


Le 14/02/2018 à 23:15, Benoît Minisini a écrit :
> Le 14/02/2018 à 23:03, Adrien Prokopowicz a écrit :
>>
>> I'm a bit curious, why are these files needed exactly ?
>>
>> I'm no gettext expert, but aren't .mo files generated from the 
>> translation files to be loaded by the interpreter ?
>>
> 
> They are generated indeed, but I don't want to let the gambas compiler 
> call 'msgmerge' to generate them.
> 
> So, if you want to compile programs from command-line, you have to call 
> it by hand, unless the '*.mo' files are already present.
> 
> This is what was done until the last commits. But I don't want to change 
> the logic now, just before the release.
> 

Oh ok, I thought the compiler was calling msgmerge, not the IDE. Thanks 
for the explanation ! :-)

(Now that explains why the website's translations work on my local 
machine but not on GitLab … problem solved I guess !)

As Christof says this isn't ideal, but you're right that you should just 
focus on getting the release out for now.

-- 
Adrien Prokopowicz


More information about the User mailing list