Support #3308
closedformat-date(xs:date('2017-06-23'),'[Mn]','es','ISO','es') outputs month name in French instead of Spanish
0%
Description
Dear Madam or Sir,
Please have a look at the problem that format-date() of SAXON EE 9.5.1.5 outputs monthnames and weekdays in French instead of Spanish when 'es' is specified as language as follows:
XSLT:
<xsl:value-of select="format-date(xs:date('2017-06-23'),'[Mn]','es','ISO','es')"/>
output:
juin
but should be
junio
Same for weekdays.
Could you please make a maintenance-release for 9.5 as I do not have time now to update to the latest version?
Thanks for your support and your otherwise great product
Best regards
Dietmar Moritz
MATISA SA Switzerland, www.matisa.ch
Files
Updated by Michael Kay over 7 years ago
- Tracker changed from Bug to Support
- Category set to Localization
- Status changed from New to In Progress
- Assignee set to Michael Kay
Saxon 9.5 has no support for localization in Spanish. The documentation here:
http://www.saxonica.com/documentation9.5/index.html#!extensibility/localizing
lists the languages that have built-in support within the product and tells you how you can write a localization module for another language (the ones in the product were all user-contributed). If a requested language isn't supported, I believe it falls back to the default language for your Java installation, which is presumably French in your case.
Saxon 9.7 and 9.8 (PE and EE editions) support a much wider range of localizations, by integrating the ICU-J library.
I'm sorry, but we don't have the resources to retrofit new functionality to old versions. It would be self-defeating anyway, since the only reason people use old versions is so they don't have to cope with changes.
Updated by Dietmar Moritz over 7 years ago
- File image001.jpg image001.jpg added
Dear Mr Kay,
Thank you for your answer!
Best regards
Dietmar Moritz
De : Saxonica Developer Community [mailto:notifications@plan.io]
Envoyé : vendredi 23 juin 2017 17:00
Objet : [Saxon - Support #3308] (In Progress) format-date(xs:date('2017-06-23'),'[Mn]','es','ISO','es') outputs month name in French instead of Spanish
Updated by Michael Kay over 7 years ago
- Status changed from In Progress to Closed
Please register to edit this issue