Re: Yelp stuff
- From: Shaun McCance <shaunm gnome org>
- To: David Malcolm <dmalcolm redhat com>
- Cc: shaunm gnome org, gnome-i18n gnome org
- Subject: Re: Yelp stuff
- Date: 03 Aug 2004 15:17:59 -0500
On Tue, 2004-08-03 at 12:59, David Malcolm wrote:
> On Tue, 2004-08-03 at 12:03 -0500, Shaun McCance wrote:
> > (CC me on replies please. I'm not on gnome-i18n.)
> >
> > So Yelp had four strings marked for translation in l10n.xml.in that were
> > just one-character entities: “ ” ‘ ’. Most of
> > the translations continued using entities for these. But it seems that
> > when intltool merges the translations in from the po files, it escapes
> > everything. So instead of having “ we have &8220;, which is
> > not at all what's wanted.
>
> Have you added this to bugzilla?
No, it's my understanding that this is the intended behavior. Entities
are an XML serialization thing. A po file is not an XML file, and so
shouldn't really be using XML serialization. Thus, &foo; inside a po
file should be regarded as the actual string &foo;, and it should be
escaped appropriately when serialized into an XML file.
Of course, following that logic, when I put “ in an XML file, the
entity shouldn't show up in the po file, but rather â should. Which, of
course, is not what happens.
--
Shaun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]