Locale currencies list offers only withdrawn codes for Belarus, Venezuela and Zambia

Ouverte Adaptée aux débutants
#14,627 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@MateenAkram1 y travaille déjà.

Depuis le 19/10/2026.

  • #14660 par @MateenAkram1 — ouverte

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
78/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
php
Domaine
backend

Piste de recherche

Commencez par app/config/locale/currencies.php et examinez les entrées existantes pour le Bélarus, le Venezuela et la Zambie. Ajoutez leurs codes ISO 4217 actuels tout en conservant les codes retirés pour assurer la compatibilité. Le travail est terminé lorsque la liste contient BYN, VES et ZMW, et que les entrées existantes sont conservées.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

product / locale
👟 Reproduction steps

Call the Locale service's list-currencies endpoint, or read app/config/locale/currencies.php, and look for the currency of Belarus, Venezuela or Zambia.

👍 Expected behavior

Each country's current ISO 4217 code is available, so an app building a currency picker can offer it.

👎 Actual behavior

For these three countries the list contains only a code ISO 4217 has withdrawn, and not its replacement:

country in the list withdrawn replacement in the list?
Belarus BYR (line 217) 2016-07-01 BYN no
Venezuela VEF (line 1117) 2018-08-20 VES no
Zambia ZMK (line 1177) 2013-01-01 ZMW no

So an app using the Locale API can offer its users the Zambian kwacha as it was before the 2013 redenomination, and has no way to offer the one in circulation. The redenominations also changed the minor unit, so an amount entered against ZMK is scaled wrongly against ZMW.

The other withdrawn codes in the file — EEK, HRK, LTL, LVL, BGN — are a different case: those countries adopted the euro and EUR is in the list, so there is a correct choice available. I would leave those alone.

I checked the list against ISO 4217 list one as published on 2026-09-17. The file is a curated subset of 117 currencies rather than the full register, so this is not about completeness — only about the three countries whose sole entry is obsolete.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Found by reading app/config/locale/currencies.php on main.

👀 Have you spent some time to check if this issue has been raised before?
  • I checked and didn't find a similar issue
🏢 Have you read the Code of Conduct?

CONTRIBUTING.md asks for an issue before a PR, so I am opening this first. I have the patch ready — adding BYN, VES and ZMW beside the existing entries, keeping the old codes so nothing breaks for apps already using them — and will send it if you would like to assign this to me.

🤖 Generated with Claude Code

Langage dominant
TypeScript
Étoiles
57.9k
Forks
5.8k
Merge moyen
16 h 1 min
PR mergées (30 j)
768

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de appwrite/appwrite

Toutes les issues de appwrite/appwrite

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.