Updated the <a href="http://sf.net">sf.net</a> item with a couple of comments. I'll stop posting here (as per Max's suggestion). Hopefully we can get this working for the desktop version as-is, then focus on re-working the message catalog linking (as per Jordi's comment) to make it more usable across platforms ...<div>
<br></div><div>Thanks for everyone's feedback.</div><div><br></div><div>Alex</div><div><br><div class="gmail_quote">On Thu, Dec 10, 2009 at 9:46 AM, Jordi Vilalta <span dir="ltr"><<a href="mailto:jvprat@jvprat.com">jvprat@jvprat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
2009/12/9 Alex Bevilacqua:<br>
<div class="im">> The problem I have is when you try to run make, it gives you the following<br>
> error "common/<a href="http://module.mk:28" target="_blank">module.mk:28</a>: *** missing separator. Stop." ... however if I<br>
> manually run the command (tools/po2c $^ > common/messages.cpp) it works<br>
> fine.<br>
<br>
</div>>From a fast look at the patch file the cause of this error seems to be<br>
the bad indentation of that line (Makefile commands have to be<br>
indented with 1 tab). I hope that fixes it.<br>
<div class="im"><br>
>>> Basically, the scummvm.pot file can be created successfully, and you can<br>
>>> generate localizations using msginit, but I haven't been able to actually<br>
>>> utilize any of the .po files in the GUI (I updated the themes to include the<br>
>>> necessary label/dropdown though so it's there for testing).<br>
>><br>
>> What exactly is the stumbling block here?<br>
><br>
> I think because I'm unsure when to stick the PO files, I'm unable to test if<br>
> the localizations actually work :(<br>
<br>
</div>The main stopper for that task is that (as it's explained in the<br>
original item's comments) the message handling approach should be<br>
changed so that the message catalogs aren't statically linked into the<br>
executable. That means stopping the usage of po2c and writing a<br>
replacement system so translation packs can be loaded like current<br>
themes.<br>
<br>
Regards,<br>
<br>
Jordi Vilalta<br>
<br>
------------------------------------------------------------------------------<br>
Return on Information:<br>
Google Enterprise Search pays you back<br>
Get the facts.<br>
<a href="http://p.sf.net/sfu/google-dev2dev" target="_blank">http://p.sf.net/sfu/google-dev2dev</a><br>
_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="mailto:Scummvm-devel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
</blockquote></div><br></div>