Re: Context in translations, Q_() and gettext



Le samedi 24 novembre 2007 à 22:41 -0500, Matthias Clasen a écrit :
> > As most GNOME packages use intltool to generate/update po files, do you
> > know which minimal version of intltool is required to support/implement
> > this feature?
> >
> > Current version on l10n.gnome.org is:
> >  gettext 0.14.5
> >  intltool 0.35.5
> 
> >From looking at FindPOTKeywords in intltool-update, it appears you can override
> the keyword options that intltool-update passes to xgettext by setting
> XGETTEXT_OPTIONS in po/Makevars or XGETTEXT_KEYWORDS in po/Makefile.in.in.
> 
> So, you should be able to switch to msgctxt by requiring gettext 0.15 and adding
> XGETTEXT_KEYWORDS=--keyword=_ --keyword=N_ --keyword=Q_:1g --keyword=C_:1c,2
> to po/Makefile.in.in

Thanks to Olav, we have now gettext 0.16 on l10n.gnome.org.
Matthias, can you test this on glib ?

Claude




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]