@localive/adapter-svelte-i18n
v0.1.4
Published
Use Localive with svelte-i18n and edit translations while your Svelte app runs.
Maintainers
Readme
@localive/adapter-svelte-i18n
Use Localive with svelte-i18n and edit translations while your Svelte app runs.
Part of Localive, live in-context i18n editing for React, Vue, Angular, and Svelte.
Install
npm install @localive/adapter-svelte-i18n svelte-i18nRequires the peer dependencies svelte-i18n (>=4) and @localive/core.
Usage
import { withSvelteI18n } from '@localive/adapter-svelte-i18n';
import { _, locale } from 'svelte-i18n';
const adapter = withSvelteI18n({ _, locale });See the full documentation at https://localive.vercel.app/concepts/adapters/.
License
MIT © Localive, see LICENSE.
