diff --git a/src/Translator.php b/src/Translator.php index 28ed72f6..b0b6cb4f 100644 --- a/src/Translator.php +++ b/src/Translator.php @@ -39,6 +39,12 @@ public function setTranslationManager(Manager $manager) protected function notifyMissingKey($key) { list($namespace, $group, $item) = $this->parseKey($key); + + if($item === null){ + $item = $group; + $group = '_json'; + } + if($this->manager && $namespace === '*' && $group && $item ){ $this->manager->missingKey($namespace, $group, $item); }