Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Flag deprecated currencies in the bundled ICU data, filter them out by default #11886

Copy link
Copy link
Closed
@bojanz

Description

@bojanz
Issue body actions

Another issue related to #9206 and #11884.

CLDR has an interesting inconsistency, it doesn't include deprecated/dissolved countries (like Yugoslavia, Czechoslovakia, etc), but it includes exactly 139 deprecated currencies.

This makes the shipped currency list very impractical for ecommerce purposes, since the dropdown offered to the user/admin includes 139 irrelevant entries.
For example, 5 yugoslavian dinars (Yugoslavia dissolved 20 years ago), several currencies that were only used in the 1992-1995 wars, etc.
It also increases the size of the shipped data, since those 139 entries also have translations in every locale.

The ISO list of currencies doesn't include deprecated currencies, so I suggest flagging any CLDR currencies not present in the ISO list as "deprecated", and updating the listing methods to not return deprecated currencies by default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.