Closed charles-dexter-ward closed 3 years ago
I was able to re-build the nls file using CLDR 38 modifing:
utils/buildscripts/cldr/number.xsl
and adding
"minimalPairs" to the ignore group.
<xsl:template name="ignore" match="defaultNumberingSystem | otherNumberingSystems | currencies | miscPatterns | minimumGroupingDigits | minimalPairs"></xsl:template>
but I don't now if the new generated nls is compatible with the i18n functions.
Would this also fix this? https://github.com/dojo/dojo/issues/388
Would this also fix this? dojo/dojo#388
Possibly, I had missed this issue. If anyone wants to put together a PR to fix all of this, I'm happy to review and land it and do an updated release.
@charles-dexter-ward The current version of Dojo down to version 1.13 has been updated with CLDR 38.1. Can you verify the updates and close this ticket if everything is resolved?
@edhager I have verified the commit in https://github.com/dojo/util/pull/85
Thanks.
The CLDR shipped with dojo 1.16.3 is the version 30, if I'm correct. The last version should be shipped. Tried to build from CLDR 38 (following https://dojotoolkit.org/reference-guide/1.10/dojo/cldr.html) but there are some errors during the build process.
Ie:
Syntax error in C:\Users\username\Downloads\dojo-release-1.16.3-src\dojo\cldr\nls\de\number.js// generated from ldml/main/*.xml, xpath: ldml/numbers
and, the number.js for de is malformed: