[MPlayer-DOCS] gnu gettext

Carl Fûrstenberg azatoth at gmail.com
Wed Oct 20 10:30:52 CEST 2004


one way to do it:
move help/help_mp-en.h messages.h
add _( and ) to all defines
add inititzation to main
add include to config.h
add test to configure
run xgettext on messages.h
mkdir po
do a script copying strings from help/help-mp-lang.h to corresponding
po-file and place

On Wed, 20 Oct 2004 03:06:09 +0200, Diego Biurrun <diego at biurrun.de> wrote:
> Carl Fûrstenberg writes:
> 
> 
> > Is there any ideas to use gettext in mplayer? The current system works
> > for i18n, but not for l10n,  perhaps you have disscussed this before,
> > but I then ask again. :)
> > I think there will be more easier to get translation if gettext is used.
> 
> Gettext was disliked by Arpi in the beginning.  I think he changed his
> mind later on.  There was a patch by Andras Mohari once that switched
> MPlayer over to using gettext but that was ages ago.  I don't remember
> if it was good enough for CVS.  Our solution seems to work and nobody
> has come up with a better one or convinced everybody that gettext is
> the way to go.  Somebody would need to do the work as well.
> 
> Diego
> 
> _______________________________________________
> MPlayer-DOCS mailing list
> MPlayer-DOCS at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-docs
>




More information about the MPlayer-DOCS mailing list