Skip to main content

Gitlab CI

Automatically upload and download localizable files to the Translized translation management platform.

info

Configuration file .translized.yml should exist in a root directory of your project. More details about file and how to create it can be found here.

If you don't have it already, create .gitlab-ci.yml file in the root of your project.

Translized upload

Upload localizable files to the Translized translation management platform. For detailed documentation of Translized CLI, please visit the documentation.

Example usage

default:
image: docker:19.03.12
services:
- docker:19.03.12-dind
translized-upload:
script:
- docker run --rm -v $(pwd):/app/workspace translized/cli:v1.0 upload

This job will upload your localization files to Translized.

Translized download action

Download your localization files from Translized translation management platform. For detailed documentation of Translized CLI, please visit the documentation.

Example usage

default:
image: docker:19.03.12
services:
- docker:19.03.12-dind
translized-download:
script:
- docker run --rm -v $(pwd):/app/workspace translized/cli:v1.0 download

This job will download your latest localization files from Translized. Of course, as files are only downloaded during the CI/CD pipeline they will be lost if you don't use them to create PR or to produce release build, depending upon your needs.

Support

Contact us through email: info@translized.com