Integrations

GitHub (TMS)

Content is machine translated from English by Phrase Language AI.

Available for

  • Team, Business and Enterprise plans

Get in touch with Sales for licensing questions.

Available for

  • Ultimate and Enterprise plans (Legacy)

Get in touch with Sales for licensing questions.

Tip

For information about GitHub integration in Phrase Strings, refer to GitHub (Strings).

GitHub connector allows the downloading of source files and uploading of target files directly to/from the GitHub repository.

The connector uses the GitHub API to implement the integration. The connector allows access to all repositories associated with a GitHub account. GitHub account authentication can also be made in the GitHub App.

Use Cases

There are a number of use cases for the connector:

  • Project managers can add files directly to projects from an online repository.

  • Set up the submitter portal to allow Submitters to add files to requests directly from the online repository.

  • Use automated project creation (APC) to have new projects automatically created when a change in file size is detected in monitored files or a folder.

    • All files from the monitored folder and/or subfolders are imported the very first time APC runs. Newly added files are imported with the next triggered monitoring after their creation.

    • This connector supports absolute path setting. Target translation files can be stored only in the same branch as the source file.

  • Set up continuous jobs to have selected files monitored for changes.

GitHub Settings

No changes are required.

Phrase TMS Settings

Important

If accessing from a custom domain (ex. mydomain.phrase.jp), open an incognito browser window and log in via cloud.memsource.com or us.cloud.memsource.com to apply the authentication required for the creation or saving of the connector. After saving, the connector can be accessed via the custom domain.

  1. From the Settings Setup_gear.png page, scroll down to the Integrations section.

  2. Click on Connectors.

    The Connectors page opens.

  3. Click New connector.

    The Create connector page opens.

  4. Provide a name for the connection and change the Type to GitHub .

  5. Optionally select Export translations as pull requests and provide a Pull request branch.

  6. If required, select Use Github app to display the Phrase GitHub app URL and import/export files using the GitHub app authorization flow:

    1. Click the link to open the Phrase App Connector official page in a new tab: https://github.com/apps/phrase-app-connector-eu (EU data center) or https://github.com/apps/phrase-app-connector-us (US data center).

    2. Install the Phrase GitHub app to the target GitHub account.

      Note

      If the GitHub app is not installed to the user’s target GitHub account, only public repositories will be visible to the GitHub connector.

    3. Complete the installation procedure by selecting any private repositories that will be visible and accessible for the GitHub connector.

    4. Go back to the Phrase Connectors/Create page to authorize the GitHub app and connect to GitHub.

  7. Click Connect to GitHub. If not connected using the GitHub App, a popup window or a new tab will appear requesting authorization.

  8. Provide a Commit message if required.

  9. Click the Authorize Phrase button.

    If using the GitHub app, click the Authorize Phrase App Connector button.

    If successful, the window/tab will disappear and a small checkmark appears next to the Connect to GitHub button.

  10. Click Save.

    The connector is added to the list on the Connectors page.

    Important

    If the GitHub connector is created using the GitHub app authorization flow, it is not possible to change the authorization method after saving the connector settings.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.