fix: translation

This commit is contained in:
Tobias Klemp
2025-12-03 20:52:19 +01:00
parent 42080520bf
commit 2806575233
8 changed files with 262 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
import { json } from '@sveltejs/kit'
import { languageService } from '$lib/server/LanguageService.js'
export async function GET({ params }) {
const { language } = params
const result = await languageService.getTranslations([language])
return json(result[language])
}