Skip to content

A local-first personal finance app

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

An, Tran Cong Viet7fa9fa900b3b
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsx
index e8e04dddd0..f16c36ed4a 100644
--- a/packages/desktop-client/src/components/settings/Currency.tsx
+++ b/packages/desktop-client/src/components/settings/Currency.tsx
@@ -61,6 +61,7 @@ export function CurrencySettings() {
['UAH', t('Ukrainian Hryvnia')],
['USD', t('US Dollar')],
['UZS', t('Uzbek Soum')],
+ ['VND', t('Vietnamese Dong')],
]),
[t],
);
diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.ts
index e136d1c89b..ef68349025 100644
--- a/packages/loot-core/src/shared/currencies.ts
+++ b/packages/loot-core/src/shared/currencies.ts
@@ -61,6 +61,7 @@ export const currencies: Currency[] = [
{ 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: '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 {
diff --git a/upcoming-release-notes/6902.md b/upcoming-release-notes/6902.md
new file mode 100644
index 0000000000..554779357b
--- /dev/null
+++ b/upcoming-release-notes/6902.md
@@ -0,0 +1,6 @@
+---
+category: Features
+authors: [antran22]
+---
+
+Adds Vietnamese Dong (VND) currency