Skip to content

Commit 1b30e2a

Browse files
bennyyiprocka
andauthored
Add instruction for configuring OpenCC profile (#7)
Co-authored-by: Rocka <[email protected]>
1 parent 2a27913 commit 1b30e2a

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

docs/faq.en.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,27 @@ This feature allows you to share the input context (mostly the active input meth
153153
- All: always use same input method when switching between Apps
154154
- Program: remember last used input method for each App
155155
- No: this is the default value. On Android, there is only one *InputContext* for each App, this option behaves exactly the same as *Program*
156+
157+
## How to customize OpenCC conversion profile?
158+
159+
Open "Addons - Simplified and Traditional Chinese Translation", Set "Translate engine" to "OpenCC".
160+
161+
To configure conversion, set "OpenCC profile for Simplified to Traditional" to one of the following values:
162+
163+
- `s2hk.json` Simplified Chinese to Traditional Chinese (Hong Kong variant)
164+
- `s2t.json` Simplified Chinese to Traditional Chinese
165+
- `s2tw.json` Simplified Chinese to Traditional Chinese (Taiwan Standard)
166+
- `s2twp.json` Simplified Chinese to Traditional Chinese (Taiwan Standard) with Taiwanese idiom
167+
168+
To configure the reverse, set "OpenCC profile for Traditional to Simplified" to one of the following values:
169+
170+
- `hk2s.json` Traditional Chinese (Hong Kong variant) to Simplified Chinese
171+
- `hk2t.json` Traditional Chinese (Hong Kong variant) to Traditional Chinese
172+
- `jp2t.json` New Japanese Kanji (Shinjitai) to Traditional Chinese Characters (Kyūjitai)
173+
- `t2hk.json` Traditional Chinese (OpenCC Standard) to Hong Kong variant
174+
- `t2jp.json` Traditional Chinese Characters (Kyūjitai) to New Japanese Kanji (Shinjitai)
175+
- `t2s.json` Traditional Chinese to Simplified Chinese
176+
- `t2tw.json` Traditional Chinese (OpenCC Standard) to Taiwan Standard
177+
- `tw2s.json` Traditional Chinese (Taiwan Standard) to Simplified Chinese
178+
- `tw2sp.json` Traditional Chinese (Taiwan Standard) to Simplified Chinese with Mainland Chinese idiom
179+
- `tw2t.json` Traditional Chinese (Taiwan standard) to Traditional Chinese

docs/faq.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,28 @@ Fcitx 5 支持使用第三方[词库](https://wiki.archlinux.org/title/Fcitx5_(%
150150
- 所有 (All):在不同的应用之间切换时,总是使用相同的输入法
151151
- 程序 (Program):为每个应用记住当前激活的输入法
152152
- 否 (No):此项为默认值。在 Android 上,每个程序只有一个 *输入上下文 (InputContext)*,因此此项的作用与 *程序 (Program)* 完全相同
153+
154+
## 如何自定义 OpenCC 转换配置?
155+
156+
打开 “附加组件 - 简繁转换” 页面,转换引擎设置为“OpenCC”。
157+
158+
配置简转繁, 修改“简转繁的 OpenCC配置”:
159+
160+
- `s2hk.json` 简体到香港繁体
161+
- `s2t.json` 简体到繁体
162+
- `s2tw.json` 简体到台湾正体
163+
- `s2twp.json` 简体到繁体(台湾正体标准)并转换为台湾常用词汇
164+
165+
配置繁转简, 修改“简转繁的 OpenCC配置”:
166+
167+
- `hk2s.json` 香港繁体到简体
168+
- `hk2t.json` 香港繁体到繁体(OpenCC 标准)
169+
- `jp2t.json` 日文新字体到繁体(OpenCC 标准,旧字体)
170+
- `t2hk.json` 繁体(OpenCC 标准)到香港繁体
171+
- `t2jp.json` 繁体(OpenCC 标准,旧字体)到日文新字体
172+
- `t2s.json` 繁体到简体
173+
- `t2tw.json` 繁体(OpenCC 标准)到台湾正体
174+
- `tw2s.json` 台湾正体到简体
175+
- `tw2sp.json` 繁体(台湾正体标准)到简体并转换为中国大陆常用词汇
176+
- `tw2t.json` 台湾正体到繁体(OpenCC 标准)
177+

0 commit comments

Comments
 (0)