OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: patches for gentext's german l10n/i18n; symbolic namesin xmlcharent01 (fwd)


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 <steffen@mail.maier.zuhause>
To: docbook@lists.oasis-open.org
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:

&#8222; => &bdquo; (HTML4/XHTML) => &ldquor; (xmlcharent-0.1)
&#8218; => &sbquo; (HTML4/XHTML) => &lsquor; (xmlcharent-0.1)

Bye,
Steffen.

-- 
  http://w3studi.informatik.uni-stuttgart.de/~maiersn/
mailto:Steffen.Maier@studserv.uni-stuttgart.de
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&#x00DF;noten"/>
-<gentext key="Notes" text="Fu&#x00DF;noten"/>
+<gentext key="notes" text="Fu&szlig;noten"/>
+<gentext key="Notes" text="Fu&szlig;noten"/>
 <gentext key="Pgs" text="Seiten"/>
 <gentext key="pgs" text="Seiten"/>
 <gentext key="Revisedby" text="Ge&auml;ndert durch: "/>
@@ -170,11 +177,13 @@
 <gentext key="nav-prev-sibling" text="Schnell zur&uuml;ck"/>
 <gentext key="nav-up" text="Nach oben"/>
 
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#x2022;"/>
+<!-- typographically correct german quotes according to [Duden]: -->
+<dingbat key="startquote" text="&ldquor;"/><!--&#8222; = &bdquo; ("ldquor" acc. to xmlcharent-0.1)-->
+<dingbat key="endquote" text="&ldquo"/><!--&#8220; = &ldquo;-->
+<dingbat key="nestedstartquote" text="&lsquor;"/><!--&#8218; = &sbquo; ("lsquor" acc. to xmlcharent-0.1)-->
+<dingbat key="nestedendquote" text="&lsquo;"/><!--&#8216; = &lsquo;-->
+<!-- just to use symbolic entities instead of charents everywhere ... -->
+<dingbat key="bullet" text="&bull;"/><!--&#x2022; = &bull;-->
 
 <context name="title">
 
@@ -331,13 +340,13 @@
 
 <context name="section-xref">
 
-<template name="sect1">&#x201C;%t&#x201D;</template>
-<template name="sect2">&#x201C;%t&#x201D;</template>
-<template name="sect3">&#x201C;%t&#x201D;</template>
-<template name="sect4">&#x201C;%t&#x201D;</template>
-<template name="sect5">&#x201C;%t&#x201D;</template>
-<template name="section">&#x201C;%t&#x201D;</template>
-<template name="simplesect">&#x201C;%t&#x201D;</template>
+<template name="sect1">&ldquor;%t&ldquo;</template>
+<template name="sect2">&ldquor;%t&ldquo;</template>
+<template name="sect3">&ldquor;%t&ldquo;</template>
+<template name="sect4">&ldquor;%t&ldquo;</template>
+<template name="sect5">&ldquor;%t&ldquo;</template>
+<template name="section">&ldquor;%t&ldquo;</template>
+<template name="simplesect">&ldquor;%t&ldquo;</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">&#x201C;%t&#x201D;</template>
+<template name="simplesect">&ldquor;%t&ldquo;</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">


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC