GitHub Action
locize download
Download translation files from locize. It uses the locize CLI behind the scene. For detailed documentation of the locize CLI, please visit the documentation.
The project-id that should be used.
Optional Specify the path that should be used (default: locales).
Optional The version that should be targeted (default: latest).
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]).
Optional The language that should be targeted.
Optional The namespace that should be targeted.
Optional Skips to download empty files (default: true).
Optional This will be added as a local folder name prefix in front of the language.
Optional This will define the folder and file structure; do not add a file extension (default: {{language}}/{{namespace}}).
Optional Removes all local files by removing the whole folder (default: false).
Optional Downloads the current (unpublished) translations. This will generate private download costs and also needs the api-key to be passed (default: false).
Optional The api-key that should be used.
uses: locize/download@v1
with:
project-id: ${{ secrets.LOCIZE_PROJECT_ID }}