Extension integration

This section describes how an extension author can get his extension setup at Crowdin.

Tip

Important to know

  • Your extension must be on GitHub, BitBucket or GitLab

  • Currently TYPO3 can only handle one branch/version for languages, more to that later.

Setup

Get in contact with the team in the TYPO3 slack channel cig-crowdin-localization with the following information:

  1. Extension name

  2. Information if your extension is already available on the previous translation server

  3. Your email address for an invitation to Crowdin, so you will get the correct role for your project.

Integration

You need to handle the integration yourself.

Hint

The User Interface has changed slightly, this used to be under Settings > Integrations > Setup integration.

  1. Go to the url of your project at Crowdin (e.g. https://crowdin.com/project/typo3-extension-ttaddress)

  2. Switch to the tab Integrations

  3. Find the card which corresponds to your extension source, e.g. GitHub / GitLab / Bitbucket

  4. Click Set Up integration and then select "Set Up integration"

Start of Crowdin integration for an extension

Start of Crowdin integration for an extension

A modal dialog window will open, allowing you to select the correct repository.

Select branches

Select the main branch to be translated.

Branch configuration

Branch configuration

Attention

TYPO3 can currently handle one branch for an extension! Typically you should select the main branch.

Push translations

Click on the Show advanced settings link below to decide how you want your translations to behave:

Setting for translation pushes

Setting for translation pushes

Uncheck the checkbox to avoid pushing back the translations to your project directly.

Branch configuration

Now click on the edit button next to the branch name to setup your branch configuration.

Branch configuration

This will open a new modal dialog window and will ask for the Configuration file name. We propose the file name .crowdin.yaml

Setting for translation pushes

Adopt the file name and press Continue.

Now you need to define where the language files are located.

Location of translation files

The following setup will workout fine:

  • Source file path: /Resources/Private/Language/

  • Translated file path: /%original_path%/%two_letters_code%.%original_file_name%

Please check in the right area of the modal dialog window if all xlf files have been identified.

Now press the green save button on the upper middle border and then the save button in the lower right corner.

Now press the last save button and you are done!

After a short time you should see something like that

Result

Clicking the Edit button or double click on the text "master" of your branch will take you back to the Select Branches dialog from above.

Happy translating!

Tip

Checkout the Frequently Asked Questions (FAQ) for solutions to common pitfalls.