Skip to content

Translation Hosting

SimpleLocalize edited this page Jun 23, 2025 · 2 revisions

There are two commands that operates on translation hosting resources which is publish and pull.

Publish translations

Publish command updates translations on translation hosting. It behaves exactly the same as publish buttons in Web UI (Project -> Hosting).

simplelocalize publish
  --apiKey PROJECT_API_KEY
  --environment _latest

Example

Publish translations from the _latest environment to _production environment.

simplelocalize publish 
  --apiKey PROJECT_API_KEY
  --environment _production

Pull resources

Pull command downloads files from translation hosting.

simplelocalize pull
  --apiKey PROJECT_API_KEY
  --pullPath PULL_PATH
  --environment _latest

Example

Pulls translations from the _latest environment.

simplelocalize pull 
  --apiKey PROJECT_API_KEY 
  --pullPath ./hosting/ 
  --environment _latest

Configuration

Choose environment

You can change the environment from which you want to pull translation using --environment parameter, for example:

--environment _production

_latest and _production are default environments, but you can also configure additional hosting environments

Filter resources

You can filter which resources you would like to fetch using --filterRegex parameter, for example:

--filterRegex '__index.json'

SimpleLocalize CLI

📦 Getting Started

Links


Clone this wiki locally