Add swedish translation

This commit is contained in:
Max Bengtzén
2026-02-27 13:43:20 +01:00
parent 2c6d36037a
commit 5b7f1fc85f
4 changed files with 998 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ export const supportedLanguages = [
'pt',
'nl',
'da',
'sv',
] as const;
export type SupportedLanguage = (typeof supportedLanguages)[number];
@@ -37,6 +38,7 @@ export const languageNames: Record<SupportedLanguage, string> = {
pt: 'Português',
nl: 'Nederlands',
da: 'Dansk',
sv: 'Svenska',
};
export const getLanguageFromUrl = (): SupportedLanguage => {