Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
book-open

GitHub Action

Localize.js CLI Action

v1.0

Localize.js CLI Action

book-open

Localize.js CLI Action

Push and pull string localizations via Localize.js as a part of a Github Actions workflow

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Localize.js CLI Action

uses: submittable/localizejs-github-action@v1.0

Learn more about this action in submittable/localizejs-github-action

Choose a version

localizejs-github-action

A Github Actions integration for Localize.js

Inputs

localize-api-key

Required The Localize.js account API key

localize-project-id

Required ID for the Localize.js project to translate

file-format

The file format to use in all push and pull actions Default: "json"

action

Required The action to peform-- either push or pull

type

The type of translation-- either phrase or glossary Default: "phrase"

Example usage

uses: actions/localizejs-github-action@v1 with: localize-api-key: 'api_key' localize-project-id: 'my-translated-project' action: 'pull'