Skip to content

Commit 6ea996d

Browse files
committed
Update English translation
1 parent 7e56611 commit 6ea996d

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

docs/faq.en.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,46 @@
22

33
Some frequently asked questions.
44

5+
## How to import table
6+
7+
[fcitx5-android#175](https://github.com/fcitx5-android/fcitx5-android/pull/175) adds the support of importing table based input method, so after `0.0.3-43`, you can import table using following steps:
8+
9+
1. Obtain the configuration file of the input method (the filename extension should be `.conf` or `.conf.in`) and table dictionary (the filename extension should be `.dict` or `.txt`) to be imported. Take "zhengma" as an example, you can download `zhengma.conf.in` and `zhengma.txt` at [fcitx/fcitx5-table-extra](https://github.com/fcitx/fcitx5-table-extra).
10+
2. Open the App, navigate to Addons → Table (click the gear button on the right) → Manage Table Input Methods, and click the plus button in the lower right corner. Select the second term, i.e. "From separate files", in the dialog that pops up.
11+
3. In the new dialog, click "Input method configuration file" and select `zhengma.conf.in` obtained in step 1; click "Table dictionary" and select `zhengma.txt` obtained in step 1; and click OK button.
12+
4. A notification of "Importing zheng,a.conf.in" should be created by the App. If the file are correct, the operation may take a few seconds. Then, you will see "Zhengma" in the list.
13+
514
## How to import table manually
615

7-
Take importing [zhengma](https://github.com/fcitx/fcitx5-table-extra) as an example:
16+
In order to import a table manually, you need to have a correct input method configuration file `.conf` and convert the table dictionary in `.txt` form into `.dict` form using `libime_tabledict` command line tool.
17+
818

9-
1. Obtain `zhengma.conf` and `zhengma.dict`
10-
2. Copy `zhengma.dict` to `/Android/data/org.fcitx.fcitx5.android/files/data/table/`
11-
3. In `zhengma.conf`, change the path specified after `[Table] File=` to `table/zhengma.dict`
12-
4. Copy modified `zhengma.conf` to `/Android/data/org.fcitx.fcitx5.android/files/data/inputmethod/`
19+
1. Obtain the configuration file of the input method (the filename extension should be `.conf` or `.conf.in`) and table dictionary (the filename extension should be `.dict` or `.txt`) to be imported. Take "zhengma" as an example, you can download `zhengma.conf.in` and `zhengma.txt` at [fcitx/fcitx5-table-extra](https://github.com/fcitx/fcitx5-table-extra).
20+
2. Open `zhengma.conf.in` with your favorite editor and modify the path specified after `[Table] File=` to `table/zhengma.dict`.
21+
3. Run command `libime_tabledict zhengma.txt zhengma.dict` to convert the table dictionary. This tool is usually provided by package called `libime` or `libime-bin` among Linux distributions.
22+
4. Copy modified `zhengma.conf` in step 2 to `/sdcard/Android/data/org.fcitx.fcitx5.android/files/data/inputmethod/`.
23+
5. Copy converted `zhengma.dict` in step 3 to `/sdcard/Android/data/org.fcitx.fcitx5.android/files/data/table/`.
24+
6. Restart the App (remove the task or just use force stop)
1325

1426
!!! warning
1527

1628
Above absolute paths may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
1729
We recommend using the builtin file manager (via DocumentsUI) to manage the data of Fcitx5 for Android.
30+
You can access the files in `/sdcard/Android/data/org.fcitx.fcitx5.android/files/` by selecting "Fcitx 5 for Android" in the sidebar of DocumentsUI. No third-party file manager/adb/root permission are required.
1831

1932
!!! note
2033

21-
Create directories if they don't exist.
34+
Create `inputmethod` and `table` if they don't exist.
2235

2336
## How to remove input method entry
2437

2538
Swipe left on the entry until the backgournd changes to red with a trash can icon.
2639

40+
[fcitx5-android#170](https://github.com/fcitx5-android/fcitx5-android/pull/170) adds multi-selecting deletion, so after `0.0.3-37`,
41+
you can click the edit (pencil) button in top right corner of the input method list to enter the multi-selecting mode,
42+
where checkbox will appear in the front of the input method name. You can check the input methods to be deleted,
43+
and click the delete (trash can) button in the top right corner.
44+
2745
!!! hint
2846

2947
The same operation applies to other list-like UI, such as pinyin dictionary, punctuation mapping, etc.
@@ -57,9 +75,9 @@ The input history and user dinctionary for Pinyin/Shuangpin are at `data/pinyin/
5775

5876
!!! warning
5977

60-
Abosolute path above may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
78+
Above absolute paths may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
6179
We recommend using the builtin file manager (via DocumentsUI) to manage the data of Fcitx5 for Android.
62-
80+
You can access the files in `/sdcard/Android/data/org.fcitx.fcitx5.android/files/` by selecting "Fcitx 5 for Android" in the sidebar of DocumentsUI. No third-party file manager/adb/root permission are required.
6381

6482
## How to import Pinyin dictionary
6583

docs/faq.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
!!! warning
2626

2727
若您配置了[工作资料](https://developer.android.com/work/versions/android-11#work),则上述绝对路径可能不适用。
28-
我们推荐您使用系统内置文件管理器(通过 DocumentsUI)来管理 Fcitx5 for Android 的数据文件
28+
我们推荐您使用系统内置文件管理器(通过 DocumentsUI)来管理小企鹅输入法5的数据文件
2929
在 DocumentsUI 的侧边栏中,选择“小企鹅输入法5”,即可直接访问 `/sdcard/Android/data/org.fcitx.fcitx5.android/files/` 目录中的文件,不需要借助第三方文件管理器,也不需要使用 adb 或者 root 权限。
3030

3131
!!! note
@@ -70,11 +70,12 @@ Fcitx 5 的配置文件、输入历史及用户词库存储在设备外置存储
7070
!!! warning
7171

7272
若您配置了[工作资料](https://developer.android.com/work/versions/android-11#work),则上述绝对路径可能不适用。
73-
我们推荐您使用系统内置文件管理器(通过 DocumentsUI)来管理 Fcitx5 for Android 的数据文件。
73+
我们推荐您使用系统内置文件管理器(通过 DocumentsUI)来管理小企鹅输入法5的数据文件。
74+
在 DocumentsUI 的侧边栏中,选择“小企鹅输入法5”,即可直接访问 `/sdcard/Android/data/org.fcitx.fcitx5.android/files/` 目录中的文件,不需要借助第三方文件管理器,也不需要使用 adb 或者 root 权限。
7475

7576
## 如何为拼音输入法导入第三方词库
7677

77-
Fcitx 5 支持使用第三方[词库](https://wiki.archlinux.org/title/Fcitx5_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#%E8%AF%8D%E5%BA%93)。第三方词库的 *.dict 文件也存储在与用户词库相同的目录下,路径是 `data/pinyin/dictionaries`Fcitx 5 for Android 注册了 `.dict``.scel`,以及 `.txt` 文件打开打开方式,因此您可以直接用应用打开词典文件来导入。您也可以在拼音输入法的设置界面中使用 `词库` 来管理添加的词库。
78+
Fcitx 5 支持使用第三方[词库](https://wiki.archlinux.org/title/Fcitx5_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#%E8%AF%8D%E5%BA%93)。第三方词库的 *.dict 文件也存储在与用户词库相同的目录下,路径是 `data/pinyin/dictionaries`小企鹅输入法5注册了 `.dict``.scel`,以及 `.txt` 文件打开打开方式,因此您可以直接用应用打开词典文件来导入。您也可以在拼音输入法的设置界面中使用 `词库` 来管理添加的词库。
7879

7980
## 如何输入颜文字、emoji 符号与特定的 unicode 符号
8081

0 commit comments

Comments
 (0)