Skip to content

locize download

Actions
Download translation files from locize
v2
Latest
Star (2)

locize download action

Download translation files from locize. It uses the locize CLI behind the scene. For detailed documentation of the locize CLI, please visit the documentation.

Inputs

project-id

The project-id that should be used.

path

Optional Specify the path that should be used (default: locales).

version

Optional The version that should be targeted (default: latest).

format

Optional File format of namespaces (default: json; [flat, xliff2, xliff12, xlf2, xlf12, android, yaml, yaml-rails, yaml-nested, csv, xlsx, po, strings, resx, fluent, tmx, laravel, properties]).

language

Optional The language that should be targeted.

namespace

Optional The namespace that should be targeted.

skip-empty

Optional Skips to download empty files (default: true).

language-folder-prefix

Optional This will be added as a local folder name prefix in front of the language.

path-mask

Optional This will define the folder and file structure; do not add a file extension (default: {{language}}/{{namespace}}).

clean

Optional Removes all local files by removing the whole folder (default: false).

unpublished

Optional Downloads the current (unpublished) translations. This will generate private download costs and also needs the api-key to be passed (default: false).

api-key

Optional The api-key that should be used.

Example usage

uses: locize/download@v2
with:
  project-id: ${{ secrets.LOCIZE_PROJECT_ID }}

locize download is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Download translation files from locize
v2
Latest

locize download is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.