Language and locale

The components' own text (close buttons, landmark names, "No results found.") is English by default. A non-English app sets it once, with the locale, in a Config.

Markdown for AI tools

Config #

<script lang="ts">
	import { Config } from '@limerdev/zest';

	let { children } = $props();
</script>

<Config defaultLocale="sv-SE" strings={{ close: 'Stäng', loading: 'Laddar' }}>
	{@render children()}
</Config>