diff --git a/client/src/i18n.ts b/client/src/i18n.ts index 5a59e7e..317096e 100644 --- a/client/src/i18n.ts +++ b/client/src/i18n.ts @@ -9,6 +9,13 @@ interface Language { fullCode: string; } +/** + * List of languages to load + * The key of each object is the folder name in the locales dir. + * name: Name of the language in the list + * countryCode: Country code of the country's flag to display for this language + * fullCode: Full language code, used for Ant Design's locale + */ export const languages: { [key: string]: Language } = { ["en"]: { name: "English", @@ -85,6 +92,11 @@ export const languages: { [key: string]: Language } = { countryCode: "gr", fullCode: "el-GR", }, + ["da"]: { + name: "Dansk", + countryCode: "dk", + fullCode: "da-DK", + }, }; i18n