fix: translation
This commit is contained in:
7
src/routes/+layout.server.ts
Normal file
7
src/routes/+layout.server.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { languageService } from '$lib/server/LanguageService'
|
||||
import type { LayoutServerLoad } from './$types'
|
||||
|
||||
export const load: LayoutServerLoad = async () => {
|
||||
const translations = await languageService.getTranslations(['de'])
|
||||
return translations
|
||||
}
|
||||
Reference in New Issue
Block a user