Optimizes text flow with dynamic hyphenation for multiple languages.
- Multi-language support (DE, EN, FR, ES, IT, NL, PT, ZH, AR, HI)
- Smart hyphenation based on language patterns
- HTML and special character preservation
- Case-sensitive text processing
- Performance-optimized caching
- Backend pattern management
- Debug mode with visual hyphenation markers
- Selective activation per content element
composer require tpwdag/text-flowAfter installation, make sure to:
- Activate the extension in the Extension Manager
- Clear all caches
- Run the import command for additional languages:
vendor/bin/typo3 textflow:import-patterns- Edit any content element
- Go to the "Appearance" tab
- Find "Text Flow Language" dropdown
- Select your preferred language:
- Disabled [none] (default)
- All languages [all]
- German [de]
- English [en]
- French [fr]
- Spanish [es]
- Italian [it]
- Dutch [nl]
- Portuguese [pt]
- Chinese [zh]
- Arabic [ar]
- Hindi [hi]
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:tf="http://typo3.org/ns/Tpwdag/TextFlow/ViewHelpers"
data-namespace-typo3-fluid="true">
<!-- Basic usage (using the textflow ViewHelper) -->
<tf:textflow>{text}</tf:textflow>
<!-- With text parameter -->
<tf:textflow text="{text}" />
<!-- With language parameter -->
<tf:textflow text="{text}" language="de" />
<!-- With content element data -->
<tf:textflow data="{data}">{text}</tf:textflow>
<!-- Legacy ViewHelpers (still supported) -->
<tf:process>{text}</tf:process>
<tf:optimize>{text}</tf:optimize>
</html>Add one of these URL parameters:
?debug_textflow=1- Basic text markers ("-||-")?debug_textflow=3- Prominent markers ("▼TRENN▼")
Important: The debug mode now only shows hyphenation markers for elements where TextFlow is actually enabled.
- German (de)
- English (en)
- French (fr)
- Spanish (es)
- Italian (it)
- Dutch (nl)
- Portuguese (pt)
- Chinese (zh)
- Arabic (ar)
- Hindi (hi)
GPL-2.0-or-later. See LICENSE file for details.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
- Documentation: docs.typo3.org
- Issue Tracker: GitLab Issues
- Repository: GitLab Repository