Project

Profile

Help

Support #3308

closed

format-date(xs:date('2017-06-23'),'[Mn]','es','ISO','es') outputs month name in French instead of Spanish

Added by Dietmar Moritz over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Localization
Sprint/Milestone:
-
Start date:
2017-06-23
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.5
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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

image001.jpg (371 Bytes) image001.jpg Dietmar Moritz, 2017-06-26 07:52
Actions #1

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.

Actions #2

Updated by Dietmar Moritz over 7 years ago

Dear Mr Kay,

Thank you for your answer!

Best regards

Dietmar Moritz

De : Saxonica Developer Community []

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

Actions #3

Updated by Michael Kay over 7 years ago

  • Status changed from In Progress to Closed

Please register to edit this issue

Also available in: Atom PDF