WIP: Add i18n support #6

Closed
stne3960 wants to merge 18 commits from basic-scaffolding-frontend-i18n into main
Showing only changes of commit 62ac5e5fbc - Show all commits

12
frontend/i18n.config.ts Normal file
View File

@ -0,0 +1,12 @@
/**
* All supported language codes for the app.
*
* If you add a new translation, add it here and it will automatically
* propagate to extraction and compilation.
*/
export const SUPPORTED_LANGUAGES: string[] = ["en", "sv"];
/**
* Default fallback language.
*/
export const DEFAULT_LANGUAGE = "en";