This extensions integrates the inplace editing of Crowdin into TYPO3. Using this features makes it fast and simple to add translations of XLF files used in the backend.
Important: This extensions can not be used to translate content but "static" translations saved in xlf
files.
composer req georgringer/crowdin
../typo3cms crowdin:enable
- Download the extension from TER
./typo3/sysext/core/bin/typo3 crowdin:enable
The enable command writes the following information to LocalConfiguration.php
:
$GLOBALS['TYPO3_CONF_VARS']
['SYS']['localization']['locales']['user']['t3'] = 'Crowdin In-Context Localization';
['SYS']['fluid']['namespaces'] => [
'f' => [
'TYPO3\\CMS\\Fluid\\ViewHelpers',
'TYPO3Fluid\\Fluid\\ViewHelpers',
'GeorgRinger\\Crowdin\\ViewHelpers\\Override',
],
],
];
Follow the next steps to be able to use Crowdin in the backend:
- Switch to Install Tool => Maintenance => Manage Language Packs
- Click + Add language and select Crowdin In-Context Localization [t3], click Update all.
- Switch to the User settings
- Select Crowdin In-Context Localization.
- Click save button.
After the automatic reload, a Crowdin will be shown to login with your Crowdin account and to select the language you want to translate to.
To enable in-context localization: Switch your user to Language Crowdin In-Context Localization
This extensions can be configured in the Install Tool using Settings => Extension Configuration => Crowdin.
Enable to translate TYPO3 core
: Enable this checkbox to translate TYPO3 and its system extensions.Extension key
: If the checkbox above is NOT set, an extension key can be provided which can be translated. A full list of available extensions on Crowdin is available at localize.typo3.org/xliff/status.html. e.g.news
.