[MPlayer-DOCS] gnu gettext

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


On Wed, 20 Oct 2004 10:30:52 +0200, Carl Fûrstenberg <azatoth at gmail.com> wrote:
> 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
> >
> 

like this for example
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages.h
Type: text/x-chdr
Size: 57682 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20041020/d6f5025a/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages.po
Type: application/octet-stream
Size: 58111 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20041020/d6f5025a/attachment.obj>


More information about the MPlayer-DOCS mailing list