Add Portuguese, Polish, and Swedish language support with flags
Local Build and Deploy / deploy (push) Failing after 1m7s
Local Build and Deploy / deploy (push) Failing after 1m7s
This commit is contained in:
1 parent
0bf4a9367a
commit
e3b792f5a3
8 files changed
+6112
-4
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ import { getRequestConfig } from "next-intl/server";
|
||||
// i18n WITHOUT routing: the locale is chosen by a `NEXT_LOCALE` cookie (set by
|
||||
// the language switcher) rather than a URL segment, so every existing route and
|
||||
// the access-guard middleware keep working unchanged. English is the fallback.
|
||||
export const SUPPORTED_LOCALES = ["en", "it", "nl", "de", "fr", "es"] as const;
|
||||
export const SUPPORTED_LOCALES = ["en", "it", "nl", "de", "fr", "es", "pt", "pl", "sv"] as const;
|
||||
export type AppLocale = (typeof SUPPORTED_LOCALES)[number];
|
||||
export const DEFAULT_LOCALE: AppLocale = "en";
|
||||
|
||||
|
||||
Reference in new issue
Block a user