friendsoftypo3 / crowdin
Crowdin integration for TYPO3
Installs: 61
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 5
Forks: 3
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: >= 8.1.0, <= 8.4.99
- typo3/cms-core: ^11 || ^12 || ^13
This package is auto-updated.
Last update: 2024-11-22 09:36:01 UTC
README
TYPO3 Extension crowdin
This extensions integrates the in-context 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.
1. Install
Using composer
composer req friendsoftypo3/crowdin
../vendor/bin/typo3 crowdin:enable
Non composer
- Download the extension from TER
./typo3/sysext/core/bin/typo3 crowdin:enable
Additional information
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', 'FriendsOfTYPO3\\Crowdin\\ViewHelpers\\Override', ], ], ];
Usage
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.
- Use the Crowdin icon in the top toolbar (usuallly next to the Help icon) to open the Crowdin configuration popup.
- Click on the extension you want to translate.
- Use the toggle switch to enable/disable in-context localization.
After the automatic reload, a Crowdin modal will be shown to log in with your Crowdin account and to select the language you want to translate to.
Important: Your preferred language may switch to some cryptic language with identifiers everywhere, instead of real text. This may happen when you disable in-context localization. To switch back to your preferred language, you need to open your user settings (click on your avatar, top right) and preset your preferred language back (from "Crowdin In-Context Localization").
Documentation
Full documentation is available at https://docs.typo3.org/p/friendsoftypo3/crowdin/main/en-us/.