19 implement i18n (#29)
* init paraglide * change export * shared session check * message param * format * check user is present A session can exist without a user, if the user was recently deleted * wtf * lol bad redirect code
This commit is contained in:
parent
264f6d775d
commit
8969e2b8aa
17 changed files with 84 additions and 49 deletions
|
|
@ -1,8 +1,15 @@
|
|||
import { defineConfig } from 'vitest/config';
|
||||
import { paraglide } from '@inlang/paraglide-sveltekit/vite';
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
plugins: [
|
||||
sveltekit(),
|
||||
paraglide({
|
||||
project: './project.inlang',
|
||||
outdir: './src/lib/paraglide',
|
||||
}),
|
||||
],
|
||||
|
||||
test: {
|
||||
include: ['src/**/*.{test,spec}.{js,ts}'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue