Installation
Requirements
Minimum Requirements
- TYPO3: 13.4.0 or higher
- PHP: 8.2, 8.3, or 8.4
- PHP Extensions:
-
- ext-zip
- ext-simplexml
- ext-libxml
Recommended
- Database: MariaDB 10.11+ or MySQL 8.0+
- Development: DDEV or Docker for local development
Installation via Composer
The recommended way to install this extension is via Composer:
composer require netresearch/nr-textdb
After requiring the package, activate the extension in the Extension Manager or via command line:
# Via command line
vendor/bin/typo3 extension:activate nr_textdb
Installation from TER
Alternatively, you can install the extension from the TYPO3 Extension Repository (TER):
- Navigate to Admin Tools > Extensions
- Search for "nr_textdb"
- Click the download icon
- Activate the extension
Database Setup
After installation, update the database schema:
# Via command line
vendor/bin/typo3 database:updateschema
Or use the Maintenance > Analyze Database Structure module in the backend.
The extension will create the following database tables:
tx_- Translation recordsnrtextdb_ domain_ model_ translation tx_- Component definitionsnrtextdb_ domain_ model_ component tx_- Translation type definitionsnrtextdb_ domain_ model_ type tx_- Environment definitionsnrtextdb_ domain_ model_ environment
Post-Installation Steps
-
Create Storage Folder
Create a dedicated page/folder in the page tree for TextDB records:
- Page Type: Folder
- Recommended location: Root level
- Suggested name: "TextDB Translations"
-
Configure Extension
Go to Admin Tools > Settings > Extension Configuration > nr_textdb
Set the PID (Page ID) of your storage folder.
-
Create Language Records
Create the necessary system language records (if not already present):
- Navigate to your storage folder
- Create records for Components, Types, and Environments as needed
-
Set Permissions
Grant backend user groups access to:
- TextDB Backend Module
- Storage folder for TextDB records
Localization
New in version 3.1.0
Backend interface available in 23 languages with Crowdin integration.
The extension backend interface is available in 23 languages out of the box:
European: Afrikaans, Czech, Danish, German, Spanish, Finnish, French, Italian, Dutch, Norwegian, Polish, Portuguese, Swedish
Asian & African: Arabic, Hindi, Indonesian, Japanese, Korean, Russian, Swahili, Thai, Vietnamese, Chinese
The interface language follows your TYPO3 backend user settings. To change the backend language:
- Navigate to User Settings (click your username in top bar)
- Change Interface Language to your preferred language
- Save and reload the backend
Contribute Translations: Help translate the extension into more languages or improve existing translations through the TYPO3 Crowdin project. No technical knowledge required! See the Contributing Guide for details.
Upgrade Instructions
From Version 2.x to 3.x
Changed in version 3.0.0
Added TYPO3 13.4 LTS compatibility with breaking changes requiring PHP 8.2+.
Version 3.0 brings TYPO3 13.4 LTS compatibility:
Breaking Changes:
- PHP 8.2 minimum requirement
- TYPO3 13.4 minimum requirement
- Database schema updates required
Migration Steps:
- Ensure PHP 8.2+ is installed
-
Update composer dependencies:
composer update netresearch/nr-textdbCopied! -
Update database schema:
vendor/bin/typo3 database:updateschemaCopied! -
Clear all caches:
vendor/bin/typo3 cache:flushCopied! - Test translation functionality in backend module
Troubleshooting
Extension not visible after installation
- Clear all caches via Admin Tools > Maintenance > Flush TYPO3 and PHP Cache
- Verify extension is activated in Extension Manager
- Check that database tables were created
Missing translations
- Verify storage PID is configured correctly in Extension Configuration
- Check that translations are stored in the correct page/folder
- Ensure "Create if missing" option is enabled (if desired)
Import fails
- Verify XLIFF file format matches expected structure
- Check file permissions on upload
- Review logs in Admin Tools > Log
- Ensure PHP extensions (ext-zip, ext-simplexml, ext-libxml) are installed
Uninstallation
To remove the extension:
-
Backup Translation Data (if needed)
Export all translations before uninstalling.
-
Deactivate Extension
vendor/bin/typo3 extension:deactivate nr_textdbCopied! -
Remove via Composer
composer remove netresearch/nr-textdbCopied! -
Clean Database (optional)
Remove TextDB tables manually if desired:
DROP TABLE tx_nrtextdb_domain_model_translation; DROP TABLE tx_nrtextdb_domain_model_component; DROP TABLE tx_nrtextdb_domain_model_type; DROP TABLE tx_nrtextdb_domain_model_environment;Copied!
Attention
Removing the database tables will permanently delete all translation data!