diff --git a/frontend/src/i18n/locales/pt_PT/common.json b/frontend/src/i18n/locales/pt-PT/common.json similarity index 100% rename from frontend/src/i18n/locales/pt_PT/common.json rename to frontend/src/i18n/locales/pt-PT/common.json diff --git a/frontend/src/i18n/locales/pt_PT/event.json b/frontend/src/i18n/locales/pt-PT/event.json similarity index 100% rename from frontend/src/i18n/locales/pt_PT/event.json rename to frontend/src/i18n/locales/pt-PT/event.json diff --git a/frontend/src/i18n/locales/pt_PT/help.json b/frontend/src/i18n/locales/pt-PT/help.json similarity index 100% rename from frontend/src/i18n/locales/pt_PT/help.json rename to frontend/src/i18n/locales/pt-PT/help.json diff --git a/frontend/src/i18n/locales/pt_PT/home.json b/frontend/src/i18n/locales/pt-PT/home.json similarity index 100% rename from frontend/src/i18n/locales/pt_PT/home.json rename to frontend/src/i18n/locales/pt-PT/home.json diff --git a/frontend/src/i18n/locales/pt_PT/privacy.json b/frontend/src/i18n/locales/pt-PT/privacy.json similarity index 100% rename from frontend/src/i18n/locales/pt_PT/privacy.json rename to frontend/src/i18n/locales/pt-PT/privacy.json diff --git a/frontend/src/i18n/options.ts b/frontend/src/i18n/options.ts index 8ffc3bf..6db015c 100644 --- a/frontend/src/i18n/options.ts +++ b/frontend/src/i18n/options.ts @@ -5,7 +5,7 @@ export const defaultNS = 'common' export const cookieName = 'i18next' export const languages = [ fallbackLng, - 'en-GB', 'de', 'es', 'fr', 'hi', 'id', 'it', 'ja', 'ko', 'pl', 'pt', 'pt-BR', 'ru', + 'en-GB', 'de', 'es', 'fr', 'hi', 'id', 'it', 'ja', 'ko', 'pl', 'pt-PT', 'pt-BR', 'ru', ] as const export const getOptions = (lng = fallbackLng, ns: InitOptions['ns'] = defaultNS): InitOptions => ({ @@ -85,7 +85,7 @@ export const languageDetails: Record weekStart: 1, timeFormat: '12h', }, - 'pt': { // Portuguese (Portugal) + 'pt-PT': { // Portuguese (Portugal) name: 'Português (do Portugal)', weekStart: 0, timeFormat: '24h',