Make sure locale is always set, even on first request

This commit is contained in:
Pierre Rudloff 2020-11-21 14:20:01 +01:00
parent 05959b17f0
commit f184bda59b
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<!doctype html>
<html {if isset($locale)}lang="{$locale->getBcp47()}"{/if}>
<html lang="{$locale->getLocale()->getBcp47()}">
<head>
<meta charset="UTF-8"/>
<meta name=viewport content="width=device-width, initial-scale=1"/>