[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Change Months from English to French [XSLT 1.0]


Subject: Re: [xsl] Change Months from English to French [XSLT 1.0]
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sat, 31 Jul 2010 15:59:07 +0100

<xsl:when test="$month-en = 'April'">avril</xsl:when>
<xsl:when test="$month-en = 'May'">peut</xsl:when>
<xsl:when test="$month-en = 'June'">juin</xsl:when>

"peut" is a new one for me.


Automatic translation, perhaps: "he may" => il peut?

Amazingly, though, if you Google for "French month name peut" the first result is an XSLT question (which doesn't mention "peut"; though you don't get the hit if you omit it from the query...).

Michael Kay
Saxonica


Current Thread
Keywords