[Scummvm-devel] Translation support was added to ScummVM
Thierry Crozat
criezy at scummvm.org
Sat Jun 19 16:37:23 CEST 2010
Le 19 juin 2010 à 15:11, Johannes Schickel a écrit :
> On 06/19/2010 02:02 PM, Thierry Crozat wrote:
>>
>> I am a bit confused. I just updated my local working copy and running "make" still does run automatically "perl ./tools/po2c ..." to update common/messages.cpp (which works fine since I have perl). This means new translations are still picked up by the scummvm compilation. This is due I think to the rule on common/messages.cpp
>>
>> Furthermore if I try to do a "make update-translations" I get an error because I don't have gettext installed and it tries to update the scummvm.pot files first.
>>
>
> Yeah that's actually intentional that update-translations requires gettext.
>
> On the other hand you will still need gettext for the automatic translation pick up, which is still in place due to some stupid overlook from my side :-P, when someone ever commits a changed scummvm.pot. That is since all .po files depend on scummvm.pot and common/messages.cpp depends on all .po files.
>
> So I am not sure whether we shouldn't require all translators to have gettext installed...
Ah I get it. I skipped the part where msmerge was part of gettext and therefore though that it was only needed to generate the template file :) I now see it is also needed to update the .po files.
But I am not sure on the idea of forcing the translators to have gettext. On MacOS X for example, if you use poEdif (which is easy to find and install), gettext is included and hidden inside the bundle. Which means this tool can be used to update the .po file from the template and create or edit the .po file. The only thing you cannot do is update scummvm.pot from the source code. On the other hand it is quite difficult to find and install a version of gettext (you need to compile it yourself or copy the one hidden in the poEdit bundle for example).
Thierry
More information about the Scummvm-devel
mailing list