mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
Change default language to Korean
This commit is contained in:
parent
c32a4e1345
commit
2a2fe9b69d
2 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
en,English
|
||||
ko,한국어
|
||||
en,English
|
||||
jp,日本語
|
||||
zh-CN,中文(中国)
|
||||
zh-TW,中文(臺灣)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue