Housekeeping
For cleanup, sync and overview, three CLI commands are available.
Overview
To get an overview, how many glossaries are registered to DeepL, you can use:
vendor/bin/typo3 deepl:glossary:list
or, with typo3_console installed:
vendor/bin/typo3cms deepl:glossary:list
This will give you an overview of API connected glossaries, number of entries, creation date and Glossary DeepL ID.
Cleanup
Due to sync failures it is useful, to delete all DeepL glossaries.
vendor/bin/typo3 deepl:glossary:cleanup
or, with typo3_console installed:
vendor/bin/typo3cms deepl:glossary:cleanup
This command retrieves information about all glossaries in DeepL API registered and deletes them from API. Additionally, each glossary ID is checked against the database and if found, the database record is updated.
Then the command checks local database, if any glossary has sync information left and cleans up, too.
At the end you will get a table with all deleted glossary IDs and the information, if database was updated to this glossary.
Your glossaries in TYPO3 are not deleted with this command.
After this, you are able to sync your glossaries again to DeepL.
Synchronisation
Synchronisation is done by CLI command or as scheduled task (as configured CLI Command).
vendor/bin/typo3 deepl:glossary:sync
or, with typo3_console installed:
vendor/bin/typo3cms deepl:glossary:sync
Accepts pageId as option. If not given, syncs all available glossaries.