Skip to content

Additional commands

Jakub edited this page Jul 15, 2025 · 5 revisions

Initialize configuration file

Command creates a sample configuration file in the current directory.

simplelocalize init

Get project details

Command gets project details and prints them to the console.

simplelocalize status --apiKey PROJECT_API_KEY

Purge translations

Command removes all translations, translation keys and languages from the project

simplelocalize purge --apiKey PROJECT_API_KEY

# skip confirmation
simplelocalize purge --apiKey PROJECT_API_KEY --force

Extract translation keys (deprecated)

Please check @simplelocalize/i18n-key-scanner

Extract command finds translation keys and translations from project source code at <SEARCH_DIRECTORY> and exports them to extraction.json file that uses simplelocalize-json file format.

simplelocalize extract 
  --searchDir SEARCH_DIRECTOR
  --projectType PROJECT_TYPE 

Available project types.

SimpleLocalize CLI

📦 Getting Started

Links


Clone this wiki locally