[MPlayer-dev-eng] Dutch Translation

Arpi arpi at thot.banki.hu
Sat May 4 22:06:09 CEST 2002


Hi,

> I wouldn't think so. It's implemention is very very simple. It can
> only get this kind of strings: something("translate_me");
> 
> Perl is much better to match strings. It should be possible to build a
> script that works with our mp_msg system. 

it won't be easy, as there are many MSGTR_* constanst used...

> Arpi: The problem is matching the strings inside the c source not in
> the mp_msg, so that xgettext can generate a master file. This
> masterfile is then used to generate translations.

Hmm. Imho it's easy to solve...
just make a special mp_msg() _macro_ which prints out messages with a
#warning or maybe there are other ways to print messages from macro at
_compiletime_ .
then you have to parse teh compiler output for tehse strings, shouldn't be
hard, even grep+cut can do that...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list