Re: Context in translations, Q_() and gettext
- From: Åsmund Skjæveland <aasmunds fys uio no>
- To: GNOME internationalization and localization <gnome-i18n gnome org>
- Subject: Re: Context in translations, Q_() and gettext
- Date: Thu, 22 Dec 2005 14:12:32 +0100
Will there be a tool to convert .po files from msgid "foo|bar" to the
new msgctxt stuff? Could msgmerge or whatever do it automatically?
#if HAVE_PGETTEXT
#define Q2_(context,msgid) pgettext(context,msgid)
#else
#define Q2_(context,msgid) Q_(context ## "|" ## msgid)
#endif
This'd break GDM, which uses a similar syntax to allow the translators
to specify sort order of languages:
Off the top of my head:
"A-K|English (US)" -> "A-K|Engelsk (USA)"
"M-Z|Norwegian Nynorsk" -> "M-Å|Norsk (nynorsk)"
--
Åsmund Skjæveland {
aasmunds fys uio no
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]