Browse Source

Refactor default locale

pull/7066/head
Thomas Kaul 4 weeks ago
parent
commit
362809f638
  1. 2
      libs/common/src/lib/helper.ts

2
libs/common/src/lib/helper.ts

@ -261,7 +261,7 @@ export function getCurrencyFromSymbol(aSymbol = '') {
export function getCountryName({ code }: { code: string }): string {
try {
return (
new Intl.DisplayNames([document.documentElement.lang || locale], {
new Intl.DisplayNames([document.documentElement.lang || DEFAULT_LOCALE], {
type: 'region'
}).of(code) ?? code
);

Loading…
Cancel
Save