diff --git a/backend/src/routes/themes.ts b/backend/src/routes/themes.ts index 96b6b610..c673ff26 100644 --- a/backend/src/routes/themes.ts +++ b/backend/src/routes/themes.ts @@ -137,7 +137,7 @@ interface Translations { // Function to load translations from YAML files -const loadTranslations = (language: string): Translations => { +function loadTranslations(language: string): Translations { try { const filePath = path.join(process.cwd(), "_i18n", `${language}.yml`); const yamlFile = fs.readFileSync(filePath, "utf8");