We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ef5f96 commit 1c6a504Copy full SHA for 1c6a504
1 file changed
src/Illuminate/Translation/Translator.php
@@ -61,7 +61,8 @@ class Translator extends NamespacedItemResolver implements TranslatorContract
61
public function __construct(Loader $loader, $locale)
62
{
63
$this->loader = $loader;
64
- $this->locale = $locale;
+
65
+ $this->setLocale($locale);
66
}
67
68
/**
0 commit comments