
+
Set up Bitbucket localization by integrating with PTC. Get human-quality translations directly in your repo via automated pull requests.

How the Bitbucket Integration with PTC Works
Private Translation Cloud (PTC) is an advanced AI-driven translation platform designed for software projects and continuous localization. With PTC, you can:
- Link your BitBucket repository and localize your resource files.
- Keep files in sync, as PTC automatically re-translates whenever changes are detected.
- Receive pull requests containing the latest translations that you can commit immediately.
Start a free trial or check the Getting Started Guide.
1 – Connecting Bitbucket to PTC with an Access Token
After you sign up, create a new project in PTC by clicking on New project from the top left. On the first step of PTC’s setup wizard, select Git Integration and then Bitbucket.
To integrate Bitbucket with PTC, we recommend connecting using Bitbucket OAuth. You can also use a repository access token. Keep in mind that Bitbucket access tokens are tied to your user account and cannot be restricted to a specific repository, so use them with caution in shared environments.
Once PTC validates the token, choose which branches you want it to monitor. PTC automatically detects the resource files in this branch.
2 – Translating Your Project with PTC
After linking your BitBucket repository to PTC, proceed with the setup steps where you’ll tell PTC about your project and add languages.
PTC can import and reuse any translation files already in your Bitbucket repo. The best results come from translating the full project directly within PTC.
3 – Reviewing Pull Requests
PTC completes translations in just a few minutes and delivers them straight into your Bitbucket repository as a pull request. You can merge the changes immediately.
As your source files evolve, PTC automatically detects modifications and prepares new updates with the latest translations. By merging new pull requests, your Bitbucket project stays fully localized over time.
Generate New Pull Requests To Sync Translations
You can generate a merge request from the Dashboard or the Translations tab where you view all source and translated text.
For example, when a translation exceeds the default length limit, PTC highlights it so you can either shorten it manually or have PTC generate a more compact version. When you save a change, trigger a new merge request to push refreshed translations into your Bitbucket repo.
4 — Manage Bitbucket Localization Settings
Once PTC is integrated with your Bitbucket repo, you can rely on it for continuous localization.
You can always check and limit which branches and files PTC monitors. Simply go to Settings from your PTC dashboard, under the Branch Management and Monitored Files tabs.
Under Settings, you can also make other modifications like update your repository access token, add and remove languages, and more.
Why Translate Bitbucket Projects With PTC
Quick and Easy Repository Integration
Connect PTC directly to your Bitbucket repository and eliminate the need for manual file imports or exports or for running fragile scripts. Once integrated, PTC detects resource files, generates human-quality translations using AI, and sends them back via pull requests.
Always Up-to-Date Translations
PTC tracks changes to your resource files and updates translations automatically. No extra effort from your team required.
Agile and Scalable Localization
PTC supports multiple languages and works with all major resource file formats. Choose which branches to monitor, and adjust settings as your project grows or changes.