Conversation
|
I think translations are managed on Transifex, you'd have to apply as a translator for these languages there. Regarding the error itself: this should probably be fixed by using the |
|
Yes, translations are managed in Transifex, same as Contao: https://app.transifex.com/terminal42/contao-changelanguage/ Regarding the error, this shouldn't happen in a default Contao website. Contao always loads the english language first, and then the actual language. So there should always be a fallback label and not this error. Is this in a custom entry point or something like that? |
|
@fritzmg thanks, I didn't manage to get it working with the @aschempp it happened on a Contao 5.3 project with PHP 8.3. whenever the language switcher was loaded in the frontend we would get the warning above, but it would show as an error page if the |
|
Can you post the full stack trace? |
And this was just a regular Contao website setup with no special pages (e.g. a custom page controller)? |
This commit adds missing translation targets in multiple languages. The reason for this commit is that when I clear or warmup the cache in Contao 5+, it returns the following warning stating missing translations but also an error in the same file afterward.
Once I added the translations, the error went away. I am unsure if this might also be able to be mitigated by changing lines 54-58 to the following: