GitLab Integration with PTC

+

PTC integrates with your GitLab repository to automate localization, keeping your translation files updated with every resource file change.

Automate the Translation of Files

Once connected to GitLab, PTC automatically detects and translates your resource files. Translated files are sent back to your repository as merge requests, ready for review and approval.
You maintain control by using the GitLab workflow you already know and trust.

Eliminate Manual Work

PTC saves development time by monitoring your repository, updating translation files as you push changes, and sending updated translations back as merge requests.
This continuous localization keeps your project moving and speeds up product releases.

Improve Accuracy and Reduce Errors

By staying connected to your repository and automating translation updates, PTC eliminates the risk of human errors like misplaced keys or outdated translations.
Translations remain accurate and up-to-date, so you can deliver quality products with confidence.

How to Set Up the PTC and GitLab Integration 

To get started, sign in to your PTC account or create one. When you create a new project, the PTC setup wizard will guide you through the integration process.

Choose Your GitLab Repository Location

PTC integrates with both GitLab.com and self-hosted GitLab repositories:

  • GitLab.com: Grant access using the OAuth App or generate a dedicated access token.
  • Self-hosted GitLab: Provide your server URL and create a personal access token.

Make sure the access token includes these permissions: api, read_api, read_repository, and write_repository.

Select Your Repository and Branch

PTC pulls all your repositories and branches. Select the repository you want to connect to PTC and the branch where changes will be monitored and translations managed.

Translate Automatically with PTC

PTC scans your repository to identify resource files in your project. Once you provide project details and select your target languages, PTC generates Better Than Human Translations for your files.

Review and Accept the Merge Request

PTC delivers translations as merge requests. Review, approve, and merge them in GitLab.
From then on, you can continue pushing updates, and PTC will send updated translations as new merge requests.

Frequently Asked Questions About the GitLab Integration

Repository Integration
Scroll to Top