You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function load($locale, $group, $namespace = null)
{
if ($group == '*' && $namespace == '*') {
// before editing return $this->loadJsonPath($this->path, $locale);
// the translation file array is saved in $this->hints[namespace]
// but the name space is not passed to the loader and the loader
// always return default translation path
return $this->loadJsonPath($this->hints['ideenkonzept'], $locale);
}
if (is_null($namespace) || $namespace == '*') {
return $this->loadPath($this->path, $locale, $group);
}
return $this->loadNamespaced($locale, $group, $namespace);
}
The text was updated successfully, but these errors were encountered:
Description:
inside my package service provider in the boot method i have loaded my translation files
and when i try to echo a translation
{{ __('ideenkonzept::URL') }}
it does not worksine the namespace is not being extracted from the key and passed to the file Translator->Fileloader
i managed to get it to work by hard coding my namespace in the Fileloader which is wrong todo
The text was updated successfully, but these errors were encountered: