Skip to content

Commit

Permalink
Merge pull request #114 from haosheng0211/2.x
Browse files Browse the repository at this point in the history
Add support for Traditional Chinese in TinyEditor
  • Loading branch information
mohamedsabil83 committed Dec 12, 2023
2 parents 0539390 + b88184f commit a985ebb
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 a985ebb

Please sign in to comment.