Change default language to Korean

This commit is contained in:
Kijin Sung 2016-01-05 20:49:54 +09:00
parent c32a4e1345
commit 2a2fe9b69d
2 changed files with 5 additions and 5 deletions

View file

@ -285,7 +285,7 @@ class Context
$this->db_info->lang_type = $site_module_info->default_language;
if(!$this->db_info->lang_type)
{
$this->db_info->lang_type = 'en';
$this->db_info->lang_type = 'ko';
}
if(!$this->db_info->use_db_session)
{
@ -315,14 +315,14 @@ class Context
$this->lang_type = $this->db_info->lang_type;
}
// if still lang_type has not been set or has not-supported type , set as English.
// if still lang_type has not been set or has not-supported type , set as Korean.
if(!$this->lang_type)
{
$this->lang_type = 'en';
$this->lang_type = 'ko';
}
if(is_array($lang_supported) && !isset($lang_supported[$this->lang_type]))
{
$this->lang_type = 'en';
$this->lang_type = 'ko';
}
$this->set('lang_supported', $lang_supported);

View file

@ -1,5 +1,5 @@
en,English
ko,한국어
en,English
jp,日本語
zh-CN,中文(中国)
zh-TW,中文(臺灣)