Campus Lingo Release Notes
The further development of the Campus Lingo software includes the following software components:
- TYPO3 extension campus_lingo
- Campus Lingo API
The Campus Lingo API is used by campus_lingo as an endpoint. It acts as middleware between TYPO3 systems equipped with campus_lingo and the DeepL API. New Campus Lingo API versions are always put into operation with an update of campus_lingo.
Here you can find all release notes of campus_lingo. The version numbering scheme follows the Semantic Versioning idea (Major.Minor.Bugfix). If an update of campus_lingo is accompanied by an update of Campus Lingo API, this is highlighted accordingly.
campus_lingo 2.0.1
Release date: 13.12.2024 ☆ Bugfix release ☆ TYPO3 v11 & v12
Changelog
- [TASK] CurrentPageAspect: Allows the current page to be determined if it cannot be determined by the request
- [BUGFIX] if not yet available, pages.tx_campus_lingo_features must be loaded before checking the configuration
- [BUGFIX] Avoid slow database queries to the sys_log table to avoid repeated log entries
- [BUGFIX] The TCA API for deactivating automatic translation must not place the control field in a hidden palette (isHiddenPalette)
- [TASK] Version set to 2.0.1
campus_lingo 2.0.0
Release date: 19.11.2024 ☆ Major update ☆ TYPO3 v11 & v12
Breaking Change: Hide untranslated pages
The "Hide untranslated pages" feature in the site configuration has been moved from the translations to the default language and is activated by default from version 2.0.0.
Description of the feature
Hides pages that have not been translated manually or automatically. As soon as this option is activated, the checkbox in the page properties "Hide page if no translation is available for the current language" is removed.
If you have already used the feature before, no customisation is required.
If you have not used the feature before and still do not want to use it, please deactivate it in the default language of the site configuration.
New features
With version 2.0.0 campus_lingo gets many new features and an updated documentation, which can be found here: campus_lingo-2.0.0.pdf. The most important new features are listed here:
- compatible with TYPO3 v12
campus_lingo is now officially compatible with TYPO3 v12 and v11. If you are using campus_lingo with TYPO3 v12 via our develop-Branch, please update the used version to ^2.0.0 - Automatic translation of syndicated content
This makes it possible to translate content in the frontend that is not stored in the TYPO3 database but is output in the frontend. This can be data from an external database or a web service, for example. Please read the section "Translation of arbitrary content" in the documentation. - Automatic translation of content stored in FlexForms
Please read the section "Configure auto-translation for FlexForm fields" in the documentation. - Automatic translation of template labels
As a developer, you have the option of automatically translating template labels saved in locallang.xlf files. Please read the section "Translate locallang.xlf files" in the documentation. This makes the integration of new languages even easier. - Problem detection of TYPO3 sites
The TYPO3 sites (visible in the backend module Sites) show possible problems regarding compatibility and configuration when edited in the "Languages" tab. This makes commissioning even easier. - Hide untranslated pages
The feature now works stable for menu generation.
Changelog
- [TASK] TYPO3 v12 / version set to 2.0.0dev
- [BUGFIX] prevents return of NULL if an error occurs with preg_replace
- [BUGFIX] languageAspect must be restored if pages outside a site are requested
- !!![BUGFIX] Hide untranslated pages in site configuration did not work for language menus and had an inconsistent configuration
- [TASK] TYPO3 v12 / Support for TYPO3 12.4
- [TASK] TYPO3 v12 / Site configuration TCA compatibility established
- [TASK] TYPO3 v12 / TCA Migration
- [TASK] TYPO3 v12 / Extension key added when using translate VH
- [TASK] TYPO3 v12 / Prevent 503 errors on 404 pages for already translated but deactivated pages
- [TASK] TYPO3 v12 / Migration for strict mode with Extbase
- [TASK] TYPO3 v12 / refactor code from hooks to events + mark hooks for <v12 as deprecated
- [FEATURE] automatic translation of .xlf files ("locallang.xlf") for configured extensions
- !!![FEATURE] option "Hide untranslated pages" is enabled by default in the site configuration
- !!![FEATURE] prevents repeated writing of error log messages to the log table
- [TASK] TYPO3 v12 / handling of ext_conf_template core bugs
- [TASK] Code Clean-up
- [FEATURE] Enables the direct transfer of untranslated lines and the setting of the id field. Streamlining of the fields pid & tstamp
- [TASK] TranslationService refactored
- [FEATURE] Enables a value comparison before delivery from the campus_lingo cache
- [FEATURE] Definition of the translation status for source=target language
- [FEATURE] TranslationServiceModifyTCAEvent for setting/changing the TCA for campus_lingo only
- [FEATURE] LanguageOverlayService provides API for manual automatic translation of an associative array
- [TASK] Replace invalid URL with DeepL documentation for target languages
- [TASK] Correction of PHPStan warnings
- [FEATURE] Console command campuslingo:delete-manual-translations enables the targeted deletion of editorial translations
- [BUGFIX] Correction of page translation in PageRouter for pages that are not yet in the translation cache
- [TASK] Refactoring of the special handling of sys_file_reference in EventListener
- [FEATURE] Content saved via FlexForms can now be translated automatically (must be configured, see README)
- [BUGFIX] Ensure compatibility when automatically translating FlexForms with TYPO3 v11 & EXT:form
- [FEATURE] TCA columnsOverrides are taken into account
- [FEATURE] Backend module Sites: Languages show hints for automatic translation configuration
- [TASK] TYPO3 v13 Deprecations removed
- [DOC] Update README for 2.0.0
- [TASK] Version set to 2.0.0
campus_lingo 1.6.3
Release date: 25.09.2024 ☆ Bugfix release ☆ TYPO3 v11
Changelog
- [BUGFIX] Avoids calling currentSite in CLI environment
- [TASK] Version set to 1.6.3
campus_lingo 1.6.2
Release date: 01.08.2024 ☆ Bugfix release ☆ TYPO3 v11
Changelog
- [TASK] PHP 8.3 is supported
[BUGFIX] Correct automatic placement of autoTranslationSettings for data records with different types - [TASK] Version set to 1.6.2
campus_lingo 1.6.1
Release date: 16.07.2024 ☆ Bugfix release ☆ TYPO3 v11
Campus Lingo API
Glossary entries
Numerous improvements and bug fixes for editing and automatic updating.
Dashboard widget "Translated characters"
After logging in, the "Translated characters" diagram is displayed in the dashboard. This shows how many characters have been translated in the last 30 days.
Changelog
- [BUGFIX] Glossary updates work with glossary entries containing multibyte UTF8 characters
- [BUGFIX] Translation cache: Avoid crashes if content is too large + Use of LONGTEXT for the source language and translation fields
- [BUGFIX] Automatic update of the glossary recognises HTML-encoded characters + Cache entries are updated independently of the HTML encoding
- [BUGFIX] Updating the glossary recognises JSON-encoded inverted commas in the translation cache
- [BUGFIX] Updating the glossary: Matching glossary entries with multibyte characters regardless of capitalisation
- [TASK] Method renamed to reflect its "fuzzy" nature
- [TASK] Version set to 1.6.1
campus_lingo 1.6.0
Release date: 04.07.2024 ☆ Minor update ☆ TYPO3 v11
New features
- Opt-in / opt-out for pages (branches) It is now possible to deliberately deactivate automatic translation (in the "Sites Configuration") and then only activate it for certain pages or page branches (in the page properties). The behaviour can be reversed in the underlying pages or page branches in the page properties.
Many thanks to the University of Kassel for sponsoring this feature. - Exclusion of individual fields from automatic translation via the TCA
- The control options in the page properties for using the translation service must now be explicitly activated in the site configuration and are otherwise not visible.
Changelog
- [BUGFIX] Fixed typo when removing "/" from TYPO3_SITE_PATH
- [FEATURE] TCA autotranslate_forbidden to explicitly prohibit automatic translation
- [TASK] new extension icon
- [FEATURE] "Opt-In": Switching the automatic translation for subpages can be cancelled for subpages
- [BUGFIX] selectCheckBox must trigger a reload if onChange=reload is configured
- [FEATURE] Page properties: Show configuration field for automatic translation for all page types
- [FEATURE] Setup of a static member runtime cache + refactoring
- !!![FEATURE] Deactivation of the translation service via page properties, configurable via websites, default setting "off"
- [TASK] Sites configuration: Placeholder for Campus Lingo language code
- [TASK] Code Cleanup
- [BUGFIX] Functional fields of sys_file_reference must not be translated automatically
- [TASK] Update @see links
- [TASK] Refactoring of allowed types and renderTypes
- [DOC] Better description for the use of TCA API
- [BUGFIX] The TYPO3 context must not be cached
- [TASK] Version set to 1.6.0
campus_lingo 1.5.0
Release date: 23.11.2024 ☆ Minor update ☆ TYPO3 v11
New feature
Automatic update by glossary entries
Automatic update of existing translations when a new glossary entry is created, changed or deleted. Only the translations that contain the glossary term in the source language or the translation are updated.
campus_lingo 1.4.0
Release date: 31.08.2023 ☆ Minor update ☆ TYPO3 v11
New features
- Alternative solution type "Strict" is supported
- Consideration of the settings for automatic translation in the page properties that do not correspond to the current page
- New configuration options:
- Page properties / pages.l18n_cfg can be controlled via automatic translation
- Page properties / options for optional deactivation of CampusLingo API while retaining the translation cache can be deactivated
campus_lingo 1.3.0
Release date: 23.05.2023 ☆ Minor update ☆ TYPO3 v11
New feature
TCA control option for the explicit editorial exclusion of any data records
campus_lingo 1.2.0
Release date: 04.05.2023 ☆ Minor update ☆ TYPO3 v11
New feature
Placeholder <!-- CAMPUS_LINGO_AUTOTRANSLATION_INFORMATION --> in templates shows information as to whether there is automatically translated content on the current page.
campus_lingo 1.1.0
Release date: 02.05.2023 ☆ Minor update ☆ TYPO3 v11
New feature
TCA option for editorially deactivating automatic translation of any data records (e.g. news, content elements, ...).
Can be activated via TCA using the API method (see README)
campus_lingo 1.0.0
Release date: 23.03.2023 ☆ First public version ☆ TYPO3 v11