๐Ÿ–ณ CLI

๐Ÿ”ง Troubleshooting

Common CLI errors and how to fix them.

Troubleshooting

Common errors you might run into.

No .jtranslate.config.json found

You haven't initialised the folder yet, or you're in the wrong directory. Run jtranslate init <cli_key> from your project root.

Invalid key format

CLI keys start with jtcli_. Make sure you copied the full key from the web app.

Invalid key / Key revoked

The key is either wrong or has been revoked. Generate a new one from the project integrations page and run jtranslate init again.

Pro required

The CLI requires an active JTranslate Professional subscription or trial.

Local source file is not valid JSON

Your source file has a syntax error. You can use the JSON validator to fix this.

Local source file not found

The path in .jtranslate.config.json points to a file that doesn't exist. Either fix the path manually or delete the config and run jtranslate init again.