<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>
