Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing translation categories should not be logged as Error #4109

Open
timkelty opened this Issue Apr 8, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@timkelty
Copy link
Contributor

timkelty commented Apr 8, 2019

If you are in the CP using a non-english lang, your logs will be littered with tons of errors:

2019-04-08 14:21:33 [-][1][-][error][yii\i18n\PhpMessageSource::loadFallbackMessages] The message file for category 'relabel' does not exist: /app/vendor/composer/anubarak/craft-relabel/src/translations/fr-CA/relabel.php Fallback file does not exist as well: /app/vendor/composer/anubarak/craft-relabel/src/translations/fr/relabel.php

…which can be annoying when you're looking for actual errors. Seems like falling back is the expected behavior, and shouldn't be logged as an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.