goldendict-ng/website/docs/howto/how to customize the opencc.md
2024-05-29 09:04:59 +08:00

22 lines
700 B
Markdown

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)
3. search `丑` in Goldendict-ng will also show the result of `美`
any other valid opencc configuration solutions should also work here.