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

未關閉 適合新手
#14,627 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@MateenAkram1 已經在處理了。

開始於 2026年10月19日。

  • #14660 來自 @MateenAkram1 —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
78/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
php
領域
backend

研究方向

從 app/config/locale/currencies.php 開始,檢查 Belarus、Venezuela 和 Zambia 的現有項目。新增它們目前的 ISO 4217 代碼,同時為了相容性保留已撤銷的代碼。清單包含 BYN、VES 和 ZMW,且現有項目均予以保留時,即為完成。

由索引模型根據 Issue 內容生成。

描述

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

主要語言
TypeScript
星號
57.9k
分支
5.8k
平均合併
16 小時 1 分鐘
30 天內合併 PR
768

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

appwrite/appwrite 的其他 Issue

查看 appwrite/appwrite 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。