-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
There are a few places in the TEI Header where a bit of boilerplate text is required, e.g. "ELTEC edition" in the title, "Encoded in ELTEC" in the responsibility statement, "header created" in the revisionDescription and so on. These should all be in the language of the text, rather than in English.
To make at least the first of these consistent, the headChecker script will do the following when it finds a title which lacks the magic word "ELTeC" :
<xsl:choose>
<xsl:when test="$textLang eq 'cs'">vydání ELTeC</xsl:when>
<xsl:when test="$textLang eq 'de'">ELTeC ausgabe</xsl:when>
<xsl:when test="$textLang eq 'en'">ELTeC edition</xsl:when>
<xsl:when test="$textLang eq 'fr'">édition ELTeC</xsl:when>
<xsl:when test="$textLang eq 'hu'">ELTeC kiadás</xsl:when>
<xsl:when test="$textLang eq 'it'">edizione ELTeC</xsl:when>
<xsl:when test="$textLang eq 'lv'">ELTeC izdevums</xsl:when>
<xsl:when test="$textLang eq 'no'">ELTeC-utgave</xsl:when>
<xsl:when test="$textLang eq 'po'">edycja ELTeC</xsl:when>
<xsl:when test="$textLang eq 'pt'">edição para o ELTeC</xsl:when>
<xsl:when test="$textLang eq 'ro'">ediție ELTeC</xsl:when>
<xsl:when test="$textLang eq 'sl'">Izdaja ELTeC</xsl:when>
<xsl:when test="$textLang eq 'sp'">edición ELTeC</xsl:when>
<xsl:when test="$textLang eq 'sr'">ELTeC издање</xsl:when>
<xsl:otherwise>ELTeC edition</xsl:otherwise>
</xsl:choose>
Not sure how far we want to go with this. But certainly encoders should remember that their header ought to use the language of the text.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels