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

This commit is contained in:
Qiang Xue 2013-11-19 16:33:52 -05:00
parent d94413ad1b
commit 3b0ffb51ca

View File

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