Skip to content

About

Local-first localization workbench, zero-dependency CLI, and typed ESM API for Apple string catalogs and JSON.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Stringlight

A local localization preflight tool: review translation files in a browser, run the same checks in CI, and use the audit engine from JavaScript.

Import an Apple .xcstrings catalog or JSON locale files, inspect missing translations and incompatible placeholders, edit a value beside its source, and download the corrected file. No account, translation API, or backend is required.

Stringlight reviewing the fictional Wayfarer sample

Stringlight is a new implementation in an established category. Its focus is a readable browser workspace and a shared, deterministic engine for .xcstrings and simple JSON. It does not replace a translator, Xcode, or runtime testing. See alternatives before choosing it for your project.

Install in a project

Version 0.1.1 is distributed from GitHub. It is not published to the npm registry. Install the versioned package asset from GitHub Releases:

npm install --save-dev https://github.com/kjdyrland/stringlight/releases/download/v0.1.1/kjdyrland-stringlight-0.1.1.tgz
npx stringlight MyApp/Resources/Localizable.xcstrings

The installed package is named @kjdyrland/stringlight; its executable is stringlight. Commit your package.json and lockfile so collaborators and CI install the same dependency. Requires Node.js 22.13+.

Command line

npx stringlight Localizable.xcstrings
npx stringlight en.json fr.json --source en --target de
npx stringlight en.json fr.json --format markdown --out audit.md
npx stringlight Localizable.xcstrings --fail-on warning
npx stringlight --version
npx stringlight --help