Git is an open-source distributed version control system that is used primarily for tracking changes in source codes during software development. It is an underlying direct repository where documents can be stored.
Memsource supports three different connectors for Git Service accounts: Git, GitHub, and GitLab. Each one requires a different method of authentication, access, and setup. Please visit the GitHub and GitLab connector pages for more setup information regarding those connectors.
Note: You must have an Ultimate or Enterprise edition in order to use the Git, GitHub, and GitLab connectors.
Setting up the Connector
To set up your connector, navigate to Setup in Memsource and scroll down to the Integrations section. Click on Connectors. After clicking on New, you can choose the connector you wish to create. Give it a name and change the Type to Git. Your Git username and password are required. However, your SSH key and SSH password are optional.
Note: When entering your URL in the Host field, it must lead to the actual Git repository. Because of this, it will have .git as an endpoint.
Once you’ve entered your information, click Connection test. If you’ve entered everything correctly, a checkmark will appear next to the Connection test button indicating that the validation was successful. Then, click Impose.
Manual or Automated File Retrieval
Memsource enables users to either manually or automatically retrieve content from Online Repositories or CMSs.
When creating a new job, instead of selecting Choose Files to manually retrieve files from your local PC's hard drive, select Add from Online Repository. Then browse the folder structure directly in your Git account and choose the files you want to translate.
Show Files Added or Changed in the Last Commit
In this same section, users attempting to manually upload documents from their Git repository to Memsource can easily identify content that has been changed or added in the last commit. Display changed or new content by clicking on Git Service at the top of the window and then clicking the folder name in the bottom half of the window. The Show button will be located in the middle of the screen.
Automated Project Creation
Together with the GIT connector, Automated Project Creation allows you to monitor folders, subfolders, and even specific files to detect when new content is added or existing content is modified.
Organizations can define a folder structure specifically for files targeted for localization, and Memsource will do the rest. This option also eliminates accidental imports of documents that are not really intended for translation but still need to be contained in the same folder as translatable content (e.g. Readme files).
This can be done in the Automated Project Settings section of Memsource. Click the Set remote folder button to either monitor entire folders or specific files only.
Memsource knows that developers code around the clock. To make your life even easier, Memsource supports continuous jobs, allowing you to upload new versions of files that are still being translated. They are then pushed back to your Git repository periodically, once changes have been made.
To see a demonstration outlining how each of these processes work, please see the video below: