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
Upgrade Instructions
From Version 2.x to 3.x
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!