Quick Start
This guide walks you through installing the Ollang SDK, configuring your project, starting the Asset Management interface, and (optionally) enabling the browser CMS capture.1. Install the SDK
2. Get Your API Key
- Sign up or log in at Olabs
- Create or select a project
- Generate an API key from project settings
- Set it in your environment:
3. Configure Your Project
In your project root, createollang.config.ts:
4. Start the Asset Management Interface
From your project root, run:If the browser doesn’t open automatically, visit
http://localhost:5972 manually.
What the Asset Management Does
- Scans your i18n files (JSON, YAML), hardcoded strings, videos, images, and audio
- Shows a Kanban board (Scanned → Translating → Translated → Submitted)
- Sends selected items to Ollang for translation
- Applies translations back to your codebase
5. Run Your First Scan
- In the Asset Management UI, enter your API key if prompted
- Select a folder (or create one, e.g.
local-test) for local project content - Click Scan Project
- Wait for the scan to complete — items appear in the Scanned column
- Select items, choose a target language, and click Translate
6. Browser CMS Capture (Optional)
For CMS content (e.g., Strapi), add the Browser SDK to your site.Install the script
Add to your HTML, before</body>:
Open the browser for CMS capture
- Visit your site with
?ollang-localize=truein the URL - The debug panel appears; use it to capture CMS content
- Push content to Ollang; it appears in the Asset Management under the CMS folder
Ports and URLs
| Service | Default URL |
|---|---|
| Asset Management Control Panel | http://localhost:5972 |
| Asset Management API (internal) | http://localhost:5972/api/\* |
ASSET_MANAGEMENT_PORT to change the port:
Troubleshooting
Asset Management fails to start
Asset Management fails to start
Ensure you run
npx @ollang-dev/sdk start from your project root where
ollang.config.ts (or env vars) is set. Run npm run build in the SDK
package if you’re developing from source.API key not accepted
API key not accepted
Verify your key at Olabs. Ensure
OLLANG_API_KEY
is set or entered in the Asset Management UI.Browser doesn't open
Browser doesn't open
Manually visit http://localhost:5972. On some
systems, the
open package may not launch a browser.No items after scan
No items after scan
Check
includePaths and includePatterns in your config. Ensure your i18n
files match the configured paths (e.g., messages/*.json,
locales/**/*.json).