tolgee / svelte-example

Example application of Tolgee Svelte integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example application of using Svelte with Tolgee

Tolgee

This application is using SvelteKit. To learn more about Tolgee, visit https://tolgee.io.

To run the app in dev mode

To install dependencies, run: npm install

To run the app in dev mode with in-context translating mode:

  1. Create a project on Tolgee Cloud or use self-hosted Tolgee Server.
  2. Generate an API-KEY
  3. Copy file .env to .env.development.local
  4. Set VITE_TOLGEE_API_KEY to API key obtained in previous step
  5. Run npm run dev
  6. Have fun

To run the app in production mode

To build the app for production run:

npm run build

Static website will be generated. To start local server with build app, run:

npm run serve

This repository is automatically re-published from Tolgee JS monorepo.

About

Example application of Tolgee Svelte integration


Languages

Language:Svelte 55.5%Language:CSS 33.4%Language:JavaScript 6.9%Language:HTML 3.0%Language:TypeScript 1.2%