blob: 619f97fa9b7bc795aff498724edb81348b7022f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<script lang="ts">
import { setLocale } from '$lib/paraglide/runtime';
import { page } from '$app/state';
import { goto } from '$app/navigation';
import { m } from '$lib/paraglide/messages.js';
import Page from '$lib/Page.svelte';
</script>
<Page title="Lang">
<h1>{m.locale_page_informational_message()}</h1>
<div>
<button onclick={() => setLocale('en-gb')}>en-gb</button>
<button onclick={() => setLocale('de-ch')}>de-ch</button>
</div>
<small>this page is temporary</small>
</Page>
|