feat(currency): Add Vietnamese Dong (VND) currency (#6902)

* feat(currency): add support for vietnamese dong currency

* release: add upcoming release note

* fix(currency): change the number format for vietnamese currency

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
An, Tran Cong Viet
2026-02-12 03:04:06 +07:00
committed by GitHub
parent 9798c26462
commit 7fa9fa900b
3 changed files with 8 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ export function CurrencySettings() {
['UAH', t('Ukrainian Hryvnia')], ['UAH', t('Ukrainian Hryvnia')],
['USD', t('US Dollar')], ['USD', t('US Dollar')],
['UZS', t('Uzbek Soum')], ['UZS', t('Uzbek Soum')],
['VND', t('Vietnamese Dong')],
]), ]),
[t], [t],
); );

View File

@@ -61,6 +61,7 @@ export const currencies: Currency[] = [
{ code: 'UAH', name: 'Ukrainian Hryvnia', symbol: '₴', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false }, { code: 'UAH', name: 'Ukrainian Hryvnia', symbol: '₴', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },
{ code: 'USD', name: 'US Dollar', symbol: '$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true }, { code: 'USD', name: 'US Dollar', symbol: '$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
{ code: 'UZS', name: 'Uzbek Soum', symbol: 'UZS', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false }, { code: 'UZS', name: 'Uzbek Soum', symbol: 'UZS', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },
{ code: 'VND', name: 'Vietnamese Dong', symbol: '₫', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },
]; ];
export function getCurrency(code: string): Currency { export function getCurrency(code: string): Currency {

View File

@@ -0,0 +1,6 @@
---
category: Features
authors: [antran22]
---
Adds Vietnamese Dong (VND) currency