Skip to content

Commit 1c6a504

Browse files
committed
call setlocale
1 parent 4ef5f96 commit 1c6a504

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Illuminate/Translation/Translator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ class Translator extends NamespacedItemResolver implements TranslatorContract
6161
public function __construct(Loader $loader, $locale)
6262
{
6363
$this->loader = $loader;
64-
$this->locale = $locale;
64+
65+
$this->setLocale($locale);
6566
}
6667

6768
/**

0 commit comments

Comments
 (0)