Open Praesidiarius opened 4 years ago
After saving a translation (when the language files are generated) there is an php error
Warning: fread(): Length parameter must be greater than 0 in /var/www/plc/vendor/laminas/laminas-i18n/src/Translator/Loader/Gettext.php on line 185
PHP error because of corrupt .mo files
Add a translation and save it
should work fine
error comes only when you have only translations for 1 language. it think its because we always generate de_DE files. Change it to only generate the language files where translations are found
Bug Report
Summary
After saving a translation (when the language files are generated) there is an php error
Current behavior
PHP error because of corrupt .mo files
How to reproduce
Add a translation and save it
Expected behavior
should work fine