Bug #102991
closedDDEV, Extension Development and Translations not working with TYPO3_PATH_APP set
0%
Description
For many of our extensions we use a ddev setup for development purposes. For example https://github.com/in2code-de/publications
TYPO3 and the is completely setup under .build
using the env variable TYPO3_PATH_APP
set to /var/www/html/.build
. The installation works basically fine, including the translations of the core.
But the translation delivered with the extension are not displayed. Always the default language (english) is shown.
Howto reproduce
- Clone the project
- Run
ddev start && ddev initialize
- Open https://publications-v12.ddev.site/filter => the labels in the plugin are in english (they should be german)
- Run
ddev stop
- In
.ddev/docker-compose.typo3.yaml
remove the last line- TYPO3_PATH_APP=/var/www/html/.build
- Run
ddev start
- Open https://publications-v12.ddev.site/filter => the labels in the plugin are now in german
The is true in the backend, if you add the german language and switch the be user to german ... the english labels are still used.
(If you are asking, why the initial setup is with the german language. It has historical reasons and will be changed some when ... ;-) )
It could be related to https://forge.typo3.org/issues/101334, which sounds quite similar.
Files