Getting started

From zero to your first auto-translated string in five minutes.

Not verified yet

This guide walks you through creating a namespace, adding a translation key, generating translations with AI, and fetching them from your application via the public API.

Prerequisites

Create a namespace

A namespace is your translation workspace. Most teams create one per app or per client.

  1. Open the dashboard and switch to LangSync from the product switcher.
  2. Go to NamespacesNew namespace.
  3. Fill in:
    • Name – a short alphanumeric slug (e.g. marketing-site). Used in API paths.
    • Context – free-text description of what's in this namespace. The AI reads it when translating.
    • Default language – the language your source strings are written in (e.g. en-US).
  4. Click Create.

Add a target language

  1. Open the namespace and go to Languages.
  2. Click Add language, pick one (e.g. de-DE), and save.

Repeat for each language you want to ship in.

Add your first term

  1. Go to Terms inside the namespace.
  2. Click New term.
  3. Enter:
    • Mark – the translation key (e.g. welcome.title).
    • Default value – the source string (e.g. Welcome to our app).
    • Toggle Translate automatically on.
  4. Click Save.

The AI fills in the German translation in the background. Refresh the page to see it.

Create an API key

  1. Go to API keysNew key.
  2. Give it a name (e.g. production) and click Create.
  3. Copy the key now – you won't be shown the full value again.

Fetch translations from your app

curl -H "Authorization: Apikey YOUR_API_KEY" \
  "<your-langsync-host>/api/v1/namespaces/marketing-site/terms/translations?langId=DE-LANGUAGE-ID"

Returns a JSON map of { "<term-mark>": "<translation>" } ready for your i18n library.

Next steps

On this page