Explorar el Código

Fixes #1234: use dash instead of underscore to separate language and country in locale id.

Qiang Xue hace 12 años
padre
commit
3b0ffb51ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      views/layouts/main.php

+ 1 - 1
views/layouts/main.php

@@ -13,7 +13,7 @@ AppAsset::register($this);
 ?>
 <?php $this->beginPage(); ?>
 <!DOCTYPE html>
-<html lang="en">
+<html lang="<?= Yii::$app->language ?>">
 <head>
 	<meta charset="<?= Yii::$app->charset ?>"/>
 	<title><?= Html::encode($this->title) ?></title>