[MPlayer-dev-eng] Dutch Translation

Anders Rune Jensen anders at gnulinux.dk
Sat May 4 22:22:37 CEST 2002


Arpi <arpi at thot.banki.hu> writes:

The easy _and_ ugly solution would be to use
mp_msg(...,_("string_to_translate")) :-) But I guess that's a
definetly no-no.

> 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

-- 
Anders Rune Jensen
jabber: superduck at myjabber.net | email : anders at gnulinux.dk




More information about the MPlayer-dev-eng mailing list