Skip to content

Commit

Permalink
Add support for Traditional Chinese in TinyEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Jin committed Dec 11, 2023
1 parent 0539390 commit b88184f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Components/TinyEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public function getInterfaceLanguage(): string
'uk' => 'uk',
'vi' => 'vi',
'zh' => 'zh_CN',
'zh_TW' => 'zh_TW',
default => 'en',
};
}
Expand Down Expand Up @@ -210,6 +211,7 @@ public function getLanguageId(): string
'uk' => 'tinymce-lang-uk',
'vi' => 'tinymce-lang-vi',
'zh' => 'tinymce-lang-zh_CN',
'zh_TW' => 'tinymce-lang-zh_TW',
default => 'tinymce',
};
}
Expand Down

0 comments on commit b88184f

Please sign in to comment.