Docs

Getting started.

Install Localization OS, sign in, and pick the offline mock engine to run a real translation, all before you configure a single provider key.

What you need#

Localization OS is a single application: one process, no Node build step, no cluster to stand up. Pick whichever of these you already have on hand.

  • Python 3.11 or newer (the container image and CI use 3.13), plus git, if you would rather run it directly and read the code as you go, or
  • Docker, if you want to try it in a container.

Either way, nothing here needs a provider account or an API key: the default engine is the built-in mock engine, so everything works offline and free with obviously fake translations (see Run your first translation below).

Install#

Localization OS is open source and installs from its GitHub repository, github.com/patois-labs/localization-os. Two starting points; first login differs between them (below).

Option A: Plain Python

About five minutes. Clone the repository and run the bootstrap script, which works on any operating system:

git clone https://github.com/patois-labs/localization-os.git
cd localization-os
python3 scripts/bootstrap.py     # macOS / Linux
python scripts/bootstrap.py      # Windows (or: py scripts\bootstrap.py)

bootstrap.py creates a .venv, installs the pinned runtime dependencies and the developer tools (test runner, browser automation, audit tools, so the .venv is about 600 MB), and copies .env.example to .env. Then start it:

# macOS / Linux
.venv/bin/python run.py
# Windows
.venv\Scripts\python.exe run.py

Open http://127.0.0.1:8000 in your browser. Set PORT and HOST in .env to change the address.

Option B: Docker

docker compose up

Run this from the cloned repository for a local trial on SQLite, with no external services required. A Postgres profile and a TLS reverse-proxy profile are also available. Before an image serves anyone else, run the image scan gate described in the deploy guide, which also covers Postgres, TLS, Podman and the first-admin setup wizard.

First login#

Option A, plain Python: sign in with admin and admin; you are asked to choose a new password straight away. A fresh install on the local address seeds this account so you can look around without creating anything by hand. Never expose a local development install to a network.

Option B, Docker: the compose file declares this a real server install, so the login wall is on and no accounts are seeded. Your first visit lands on a setup page to create the real admin, which asks for a one-time setup token printed in the server's startup log. There are no default credentials on a server install. The deploy guide covers that path in detail.

Note

Running Localization OS embedded inside another application, with no web UI at all, is one sentence here and a full guide of its own: see Embedded mode.

Run your first translation#

Every translation in Localization OS runs through the same pipeline, whether it is powered by a real model or not. A deterministic offline mock engine ships with the product and is the default: it produces a complete, real run, with translation memory, glossary matching, and quality checks all exercised, and it costs nothing and needs no key. Its translations are obviously fake, which is the point. A provider that is configured but has no key refuses to translate rather than quietly falling back to the mock.

  1. Leave the engine on the offline mock for your first run (DEFAULT_PROVIDER=mock in .env, selectable as Mock on the Setup AI page).
  2. Create a project and upload a document, or a small test file, to translate.
  3. Pick a workflow and a target language, and start the run.
  4. Watch it complete, then open the result in the editor.

When you are ready to translate for real, add a key for Claude, Gemini or OpenAI in .env or on the setup page, or point it at a local model server such as LM Studio, Ollama or vLLM. No code changes are needed: the next run for that engine simply goes live.

Where to go next#

From here, three paths cover most of what people want next:

  • Deploy, for a real server install: Postgres, a TLS proxy, and the container conventions.
  • Features, for a page-by-page reference of everything the product does.
  • CLI, for driving Localization OS headlessly, from a terminal or from CI.