Quote:
Originally Posted by beecom
but I couldn't figure out what to do. I haven't used poedit and I don't know how to open Chinese translation file, either.
|
*.po files are plain text files, you could open them in any text editors. The file contains the English text and the translation text, for example:
Code:
#: config.py:82 config.py:323 # this line is a comment, it's the text location in source code
msgid "Preferred format order" # the English text
msgstr "首选格式顺序" # the translation text, in this case, Chinese text
Quote:
Originally Posted by beecom
I didn't know until now that if I 'create word wise' without Kindle plugged in
Now, I hope I can edit the dictionary that the definition is brought from to make epub file like I did with kll.en.en.klld file. For that, which file should I edit?
|
Only sending file to device and open customize Kindle lemmas dialog the first time requires a connected Kindle device.
For EPUB books, you can double click the gloss text in the customize EPUB Wiktionary dialog to edit them or edit the "wiktionary_*_v0.json" file in the worddumb-lemmas folder. You need to click the save button after editing the JSON file.
I'm still working on parsing the non-english Wiktionary dump files, currently I can use the wiktextract project to parse the Chinese Wiktionary dump file. If anyone is interested, here are the code links: