[MPlayer-dev-eng] mplayer and gettext

Arpi arpi at thot.banki.hu
Wed Nov 20 21:51:30 CET 2002


Hi,

> This is what I have:
> 
> A script which converts all the help_mp*.h files into .mo files. It
> includes config.h, so that the .mo files have all the right messages.
> 
> I've tried an unmodified copy of mplayer against my automatically
> generated .mo file and now most messages are translated to Spanish! This
> is so because mp_msg already passes its strings to gettext. (But there
> are lots of strings which doesn't go through mp_msg (and they probably
> shouldn't).)
> 
> This can be included in mplayer's build process *now* to have runtime
> translations. The translations would be read from the normal .h files as
> always.

sounds interesting - anyway i don't know what are the .mo files :)
(i've heard about .po - but never seen them either)

> I have also a script wich replaces all MSGTR_* defines with the English
> text, marked with _() . The output of this script is stored in a new

this part refused
see archives for reasons


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