Re: all _() defines for i18n
- From: David Starner <dstarner98 aasaa ofe org>
- To: kde-i18n lists kde org, gnome-i18n gnome org, gtk-i18n-list gnome org
- Cc: Keld Jorn Simonsen <keld dkuug dk>
- Subject: Re: all _() defines for i18n
- Date: Sat, 21 Apr 2001 13:02:23 -0500
----- Forwarded message from Keld Jørn Simonsen <keld dkuug dk> -----
Date: Sat, 21 Apr 2001 19:39:00 +0200
From: Keld Jørn Simonsen <keld dkuug dk>
To: David Starner <dstarner98 aasaa ofe org>
Cc: Gediminas Paulauskas <menesis delfi lt>
, Keld Jørn Simonsen <keld dkuug dk>
, gnome-i18n gnome org, gnome-hackers gnome org,
gtk-devel-list gnome org, gtk-i18n-list gnome org
Subject: Re: all _() defines for i18n
On Sat, Apr 21, 2001 at 11:22:42AM -0500, David Starner wrote:
> On Sat, Apr 21, 2001 at 04:47:05PM +0200, Gediminas Paulauskas wrote:
> > On 21 Apr 2001 11:54:18 +0200, Keld Jørn Simonsen wrote:
> > > 9. What features do we need in gettext?
> > >
> > > Can we make gettext more helpful to translators?
> > > eg msgid "file \[noun\]"
> > > msgid "file \[verb\]"
> > >
> > > Both giving a hint to the translator on what is meant,
> > > and also prepared for machine translation. text in \[\]
> > > should then be ignored when the string is written.
> >
> > This idea was talked about here for several times, but nothing decided
> > or done. There were several proposals for how to mark "qualifier" part
> > of text:
> >
> > "#noun#file"
> > "!noun!file"
> > "[noun]file"
> > "noun|file"
> > "noun:file"
>
> I believe KDE already does this, with stuff like:
>
> #: clock.cpp:677
> msgid ""
> "_: hour\n"
> "one"
> msgstr "unua"
>
> #: clock.cpp:677
> msgid ""
> "_: hour\n"
> "two"
> msgstr "dua"
>
> #: clock.cpp:678
> msgid ""
> "_: hour\n"
> "three"
> msgstr "tria"
so the character sequence "_: .*\n" is a kind of comment?
Are there conventions to help in machine translation, ala
names for word classes, tenses etc?
keld
----- End forwarded message -----
I just knew I'd seen it and was able to find an example. Why don't
you ask someone who knows how KDE uses gettext?
--
David Starner - dstarner98 aasaa ofe org
Pointless website: http://dvdeug.dhis.org
"I don't care if Bill personally has my name and reads my email and
laughs at me. In fact, I'd be rather honored." - Joseph_Greg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]