We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49ab40 commit 1aead02Copy full SHA for 1aead02
src/Filesystem/Translator.php
@@ -33,7 +33,7 @@ public function __construct(?string $locale = null)
33
parent::__construct($locale, $this->getTranslatePath());
34
35
// Check
36
- if ( !$this->canTranslate && $this->isDebug() ) {
+ if ( !$this->canTranslate && $this->isDebug() && $this->isEnv('dev') ) {
37
$logger = new Logger('core');
38
$logger->warning("Invalid language locale [{$locale}]");
39
}
0 commit comments