Incorrect formatting/parsing number separators in es-SV locale

Open
#2,723 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

enhancement in progress

OpenUI5 version: latest

Browser/version (+device/version): N/A

Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible): N/A

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:
OpenUI5 currently doesn’t include locale data for es-SV (El Salvador), so as a fallback, the formatting and parsing patterns use es (Spanish).

However, according to the CLDR for es-SV, the separators are reversed from the CLDR for es (dot should be used for decimal separator, and comma should be used for the group separator). So the fallback for Spanish locales in South America should use locale data from es-419 (Latin America Spanish) which has the same separators as es-SV according to its CLDR.

What is the expected result? Expected that formatting/parsing in es-SV uses correct separators

What happens instead? Incorrect separators are used

Any other information? (attach screenshot if possible)

Dominant language
JavaScript
Stars
3.3k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/openui5

All issues in UI5/openui5

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.