diff --git a/packages/hydrogen-react/src/useMoney.tsx b/packages/hydrogen-react/src/useMoney.tsx index 871f12195c..89fa4a5cf7 100644 --- a/packages/hydrogen-react/src/useMoney.tsx +++ b/packages/hydrogen-react/src/useMoney.tsx @@ -103,7 +103,9 @@ export type UseMoneyValue = { */ export function useMoney(money: MoneyV2): UseMoneyValue { const {countryIsoCode, languageIsoCode} = useShop(); - const locale = `${languageIsoCode}-${countryIsoCode}`; + const locale = languageIsoCode.length === 2 + ? `${languageIsoCode}-${countryIsoCode}` + : languageIsoCode.replace("_", "-") if (!locale) { throw new Error(