Translators: please patch the language files
(langname="nativename" needs to be filled)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99939
13f79535-47bb-0310-9956-
ffa450edef68
<!-- Some strings might be used in other contexts, than stated in the -->
<!-- comments... -->
-<messages lang="de">
+<messages lang="de" langname="Deutsch">
<!-- Used for the moduleindex -->
<message name="corefeatures">Kernfunktionen und Multi-Processing-Module</message>
<message name="othermodules">Andere Module</message>
<!-- Some strings might be used in other contexts, than stated in the -->
<!-- comments... -->
-<messages lang="en">
+<messages lang="en" langname="English">
<!-- Used for the moduleindex -->
<message name="corefeatures">Core Features and Multi-Processing Modules</message>
<message name="othermodules">Other Modules</message>
<!-- Some strings might be used in other contexts, than stated in the -->
<!-- comments... -->
-<messages lang="ja">
+<messages lang="ja" langname="Japanese">
<!-- Used for the moduleindex -->
<message name="corefeatures">\e$B%3%"5!G=$H\e(B MPM</message>
<message name="othermodules">\e$BB>$N%b%8%e!<%k\e(B</message>
<!-- Some strings might be used in other contexts, than stated in the -->
<!-- comments... -->
-<messages lang="ko">
+<messages lang="ko" langname="Korean">
<!-- Used for the moduleindex -->
<message name="corefeatures">ÇÙ½É ±â´É°ú ´ÙÁßó¸® ¸ðµâ</message>
<message name="othermodules">´Ù¸¥ ¸ðµâ</message>
<!-- Some strings might be used in other contexts, than stated in the -->
<!-- comments... -->
-<messages lang="ru">
+<messages lang="ru" langname="Russian">
<!-- Used for the moduleindex -->
<message name="corefeatures">ïÓÏÂÅÎÎÏÓÔÉ ÑÄÒÁ É ÍÕÌØÔÉ-ÐÒÏÃÅÓÓÎÙÅ ÍÏÄÕÌÉ</message>
<message name="othermodules">äÒÕÇÉÅ ÍÏÄÕÌÉ</message>
<xsl:for-each select="$metafile/variants/variant">
<xsl:sort select="." />
- <a href="{$path}/{.}{$metafile/path}{$metafile/basename}.html">
+ <a hreflang="{.}"
+ href="{$path}/{.}{$metafile/path}{$metafile/basename}.html">
<xsl:if test="$metafile/basename = 'index'">
<xsl:attribute name="href">
<xsl:value-of
select="concat($path, '/', ., $metafile/path)" />
</xsl:attribute>
</xsl:if>
+ <xsl:attribute name="title">
+ <xsl:choose>
+ <xsl:when test=". != 'fr'"> <!-- no language file avail. -->
+ <xsl:value-of select="document(concat('../lang/', ., '.xml'))
+ /messages/@langname" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>Français</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
<xsl:value-of select="." />