mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Set up Paraglide for localization
This commit is contained in:
parent
7bf946deb2
commit
1928366081
13 changed files with 12385 additions and 16 deletions
11
src/app.d.ts
vendored
Normal file
11
src/app.d.ts
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import type { ParaglideLocals } from "@inlang/paraglide-sveltekit"
|
||||
import type { AvailableLanguageTag } from "$lib/paraglide/runtime"
|
||||
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
interface Locals {
|
||||
paraglide: ParaglideLocals<AvailableLanguageTag>
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue