Sorry for having posted this mail to the wrong list ... my fault.
Because I'm unsure if my patches should go directly to sourceforge, I post
them here for comments.
---------- Forwarded message ----------
Date: Mon, 26 Nov 2001 18:15:02 +0100 (CET)
From: Steffen Maier <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: patches for gentext's german l10n/i18n; symbolic names in
xmlcharent01
Hello all,
IMHO there are some mistakes in the german localization within gentext
especially concerning typographically correct quotes. A unified diff
against the CVS-version from 24/11/2001 is attached to this email. (IIRC
this was once correct when I used some rather old version of the
dsssl-stylesheets.)
BTW, I was wondering why there are different symbolic names in
xml-charents-0.1 compared to HTML4/XHTML for e.g. the following entities:
„ => „ (HTML4/XHTML) => „ (xmlcharent-0.1)
‚ => ‚ (HTML4/XHTML) => ‚ (xmlcharent-0.1)
Bye,
Steffen.
--
http://w3studi.informatik.uni-stuttgart.de/~maiersn/
mailto:[EMAIL PROTECTED]
Only in docbook-xsl-cvs20011124_orig/gentext/locale: CVS
diff -ur docbook-xsl-cvs20011124_orig/gentext/locale/de.xml
docbook-xsl-cvs20011124/gentext/locale/de.xml
--- docbook-xsl-cvs20011124_orig/gentext/locale/de.xml Wed Nov 14 20:56:06 2001
+++ docbook-xsl-cvs20011124/gentext/locale/de.xml Mon Nov 26 16:45:24 2001
@@ -1,9 +1,16 @@
<?xml version='1.0'?>
<!-- there is no doctype for these files, they are WF only -->
<!DOCTYPE locale [
-<!ENTITY % lat1 PUBLIC "-//ISO 8879-1986//ENTITIES Added Latin 1//EN//XML"
+<!ENTITY % lat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
"../../xmlcharent/iso-lat1.ent">
%lat1;
+<!ENTITY % pub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
+ "http://www.oasis-open.org/docbook/xmlcharent/0.1/isopub.ent">
+%pub;
+<!ENTITY % numspgra
+ PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
+ "http://www.oasis-open.org/docbook/xmlcharent/0.1/isonum.ent">
+%numspgra;
]>
<locale language="de"
english-language-name="German"
@@ -115,7 +122,7 @@
<gentext key="set" text="Satz"/>
<gentext key="setindex" text="Stichwortverzeichnis"/>
<gentext key="SetIndex" text="Stichwortverzeichnis"/>
-<gentext key="sidebar" text="randnotiz"/>
+<gentext key="sidebar" text="Randnotiz"/>
<gentext key="Sidebar" text="Randnotiz"/>
<gentext key="Step" text="Schritt"/>
<gentext key="step" text="Schritt"/>
@@ -138,8 +145,8 @@
<gentext key="lastlistcomma" text=""/>
<gentext key="listcomma" text=","/>
<gentext key="nonexistantelement" text="nicht existierendes Element"/>
-<gentext key="notes" text="Fußnoten"/>
-<gentext key="Notes" text="Fußnoten"/>
+<gentext key="notes" text="Fußnoten"/>
+<gentext key="Notes" text="Fußnoten"/>
<gentext key="Pgs" text="Seiten"/>
<gentext key="pgs" text="Seiten"/>
<gentext key="Revisedby" text="Geändert durch: "/>
@@ -170,11 +177,13 @@
<gentext key="nav-prev-sibling" text="Schnell zurück"/>
<gentext key="nav-up" text="Nach oben"/>
-<dingbat key="startquote" text="“"/>
-<dingbat key="endquote" text="”"/>
-<dingbat key="nestedstartquote" text="‘"/>
-<dingbat key="nestedendquote" text="’"/>
-<dingbat key="bullet" text="•"/>
+<!-- typographically correct german quotes according to [Duden]: -->
+<dingbat key="startquote" text="„"/><!--„ = „ ("ldquor" acc. to
+xmlcharent-0.1)-->
+<dingbat key="endquote" text="&ldquo"/><!--“ = “-->
+<dingbat key="nestedstartquote" text="‚"/><!--‚ = ‚ ("lsquor" acc.
+to xmlcharent-0.1)-->
+<dingbat key="nestedendquote" text="‘"/><!--‘ = ‘-->
+<!-- just to use symbolic entities instead of charents everywhere ... -->
+<dingbat key="bullet" text="•"/><!--• = •-->
<context name="title">
@@ -331,13 +340,13 @@
<context name="section-xref">
-<template name="sect1">“%t”</template>
-<template name="sect2">“%t”</template>
-<template name="sect3">“%t”</template>
-<template name="sect4">“%t”</template>
-<template name="sect5">“%t”</template>
-<template name="section">“%t”</template>
-<template name="simplesect">“%t”</template>
+<template name="sect1">„%t“</template>
+<template name="sect2">„%t“</template>
+<template name="sect3">„%t“</template>
+<template name="sect4">„%t“</template>
+<template name="sect5">„%t“</template>
+<template name="section">„%t“</template>
+<template name="simplesect">„%t“</template>
</context>
@@ -349,14 +358,14 @@
<template name="sect4"><Section/> %n</template>
<template name="sect5"><Section/> %n</template>
<template name="section"><Section/> %n</template>
-<template name="simplesect">“%t”</template>
+<template name="simplesect">„%t“</template>
</context>
<context name="authorgroup">
<template name="sep"><listcomma/> </template>
<template name="sep2"> <and/> </template>
-<template name="seplast"><lastlistcomma/> <and/> </template>
+<template name="seplast"> <and/> </template><!-- no comma before last separator in
+german enumerations -->
</context>
<context name="glossary">