goldendict-ng/website/docs/howto/how to customize the opencc.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
700 B
Markdown
Raw Permalink Normal View History

2022-09-26 06:39:17 +00:00
Under the opencc folder ,these are the opencc configuration files.
the following three files are currently been used in GoldenDict.
```
s2tw.json
s2hk.json
t2s.json
```
- how to specify other configuration files?
1. create a custom file ,such as custom.txt
![image](https://user-images.githubusercontent.com/105986/192209053-82f316ca-8657-4a59-af50-6e704d155fad.png)
2. modify the \*.json file, add add the new custom.txt to the configuration .
![image](https://user-images.githubusercontent.com/105986/192209129-ebc9efe7-ce82-4d4d-ad52-1b3c33eaf270.png)
2024-10-23 22:49:11 +00:00
3. search `丑` in GoldenDict-ng will also show the result of `美`
2022-09-26 06:39:17 +00:00
any other valid opencc configuration solutions should also work here.