[MPlayer-dev-eng] [PATCH] localize with gettext (libintl)
Rich Felker
dalias at aerifal.cx
Thu Nov 30 01:25:00 CET 2006
On Thu, Nov 30, 2006 at 12:43:05AM +0200, Uoti Urpala wrote:
> On Wed, 2006-11-29 at 23:17 +0100, Ötvös Attila wrote:
> > Comment?
>
> The current translation system does need to be replaced, but the gettext
> API doesn't look too good;
Wow 2 things we agree on!
> the requirement to set locale is particularly
> bad. I think a custom translation system but one which could maybe still
> allow translators to use some of the tools related to gettext would be
> best. I think I'll send a proposal for such a system in a separate mail.
IMO it would be best to come up with a way to use nice tools with the
catgets framework. Unlike gettext, catgets does not require LC_CTYPE
for anything and has essentially zero overhead in time and memory. And
it's already adapted to MPlayer's system of using preprocessor symbols
for the message strings. With some nice scripts to simplify
translation I think it could be just about idea. And we could provide
a ~100-line fallback implementation for systems lacking catgets (which
should be none anyway since catgets is part of SUSv3).
Rich
More information about the MPlayer-dev-eng
mailing list