This commit is contained in:
Avinash Gusain 2023-12-08 11:12:53 +05:30
parent e1d8b3660c
commit 1bdddbeb09

View file

@ -74,7 +74,8 @@ public const LANGUAGE_TO_LOCALE_MAP = [
]; ];
public function __construct(string $appName, IRequest $request, IL10N $l) { public function __construct(string $appName, IRequest $request, IL10N $l)
{
parent::__construct($appName, $request); parent::__construct($appName, $request);
$this->l = $l; $this->l = $l;
$lang = \strtolower(\str_replace('_', '-', $l->getLocaleCode())); $lang = \strtolower(\str_replace('_', '-', $l->getLocaleCode()));