@tolgee/ui

Translation mode UI for @tolgee/core package

Usage no npm install needed!

<script type="module">
  import tolgeeUi from 'https://cdn.skypack.dev/@tolgee/ui';
</script>

README

Tolgee JS UI library

test workflow @tolgee/ui version types typescript twitter github stars

Tolgee Toolkit

UI library of Tolgee localization tool. For more information about Tolgee, visit our documentation website https://tolgee.io.

Installation

npm install @tolgee/ui --save

First, create a Tolgee instance and provide UI constructor.

import {Tolgee} from "@tolgee/core";
import {UI} from "@tolgee/ui";

const tg = Tolgee.init({
    apiKey: "your_api_key",
    apiUrl: "https://app.tolgee.io",
    ui: UI
})

tg.run();

Now you should be able to edit your texts in-context with ALT + Clicking your texts.

To learn more, check Hello World example.