Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-07-2022, 12:34 PM   #481
beecom
Enthusiast
beecom can extract oil from cheesebeecom can extract oil from cheesebeecom can extract oil from cheesebeecom can extract oil from cheesebeecom can extract oil from cheesebeecom can extract oil from cheesebeecom can extract oil from cheesebeecom can extract oil from cheese
 
Posts: 40
Karma: 1000
Join Date: Jun 2022
Device: Kindle Oasis
Quote:
Originally Posted by xxyzz View Post
*.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
[/list]
I didn't know there are this many messages in the plugin. I didn't have chance to see most of them.
I edited zh_CN.po file with Poedit to make Korean translation. It is my first time using Poedit, so I am not sure if I did it alright.
There may be some wrong translations because I didn't know the context.
Attached Files
File Type: zip translation_kor.zip (11.5 KB, 129 views)
beecom is offline   Reply With Quote
Old 09-07-2022, 08:27 PM   #482
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by beecom View Post
I edited zh_CN.po file with Poedit to make Korean translation.
Thank you every much for your contribution! I added the translation file in this commit: https://github.com/xxyzz/WordDumb/co...76eb0c6822680c
xxyzz is offline   Reply With Quote
Old 09-08-2022, 11:49 AM   #483
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
I too, used Poedit to make a French translation:
Attached Files
File Type: zip fr_CA.zip (10.6 KB, 115 views)
PoP is offline   Reply With Quote
Old 09-08-2022, 08:41 PM   #484
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by PoP View Post
I too, used Poedit to make a French translation:
Thanks! I changed the filename to "fr.po": https://github.com/xxyzz/WordDumb/co...29fdd63727dd3d

So both "fr" and "fr_CA" calibre interface language will use this translation once this pull request got merged: https://github.com/kovidgoyal/calibre/pull/1733
xxyzz is offline   Reply With Quote
Old 09-09-2022, 04:05 AM   #485
zd2rou
Junior Member
zd2rou began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2022
Device: none
Hi xxyzz,
I'm trying to use worddumb to make English epubs more readable for me , an ESL learner.
The odd thing is I can only make en-to-en translations in the calibre software, which I recently began to use, as the thing I want is an en-to-cn translation.
I have gone through the user manual and video but didn't find a solution.

Many thanks.
zd2rou is offline   Reply With Quote
Old 09-09-2022, 06:38 AM   #486
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by zd2rou View Post
The odd thing is I can only make en-to-en translations in the calibre software, which I recently began to use, as the thing I want is an en-to-cn translation.
I have made some changes to the wikitextprocessor and Wiktextract code to parse the Chinese Wiktionary dump file. Even though some data in some pages can't be extracted for now(IPA and forms) I think it's usable for the plugin.
xxyzz is offline   Reply With Quote
Old 09-09-2022, 09:48 AM   #487
zd2rou
Junior Member
zd2rou began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2022
Device: none
Quote:
Originally Posted by xxyzz View Post
I have made some changes to the wikitextprocessor and Wiktextract code to parse the Chinese Wiktionary dump file. Even though some data in some pages can't be extracted for now(IPA and forms) I think it's usable for the plugin.
Sorry I didn't make my point clear. I would like to know how to change the translated language from English to Chinese. Do I have to do some coding thing other than having a click button or a drop-down menu in the plugin preference? I noticed the "libmobi" page in github, but I don't have a linux system. Do I have an alternation to create a kindle-style word wise feature in epub files on Windows system?
zd2rou is offline   Reply With Quote
Old 09-09-2022, 09:59 AM   #488
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Please read my comment at the top of this page: https://www.mobileread.com/forums/sh...&postcount=481

If you're interested in parsing non-English Wiktionary dump file, check out the links at the bottom of that comment.
xxyzz is offline   Reply With Quote
Old 09-12-2022, 08:09 AM   #489
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
I corrected these misspells on github (hopefully followed the correct process - I am not too familiar with github).
PoP is offline   Reply With Quote
Old 09-12-2022, 09:42 AM   #490
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by PoP View Post
I corrected these misspells on github (hopefully followed the correct process - I am not too familiar with github).
Thanks! I applied the patch in this commit: https://github.com/xxyzz/WordDumb/co...65c5e2f9d2b5c1

You could create a pull request on GitHub to propose changes: https://docs.github.com/en/pull-requ...a-pull-request
xxyzz is offline   Reply With Quote
Old 09-12-2022, 04:15 PM   #491
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
I followed your instructions and created a Wordwise database in french from the "Oxford Hachette English - French Dictionary".

After struggling to install libmobi on an Ubuntu Virtual machine It somewhat works!! Thanks!
Click image for larger version

Name:	screenshot_2022_09_12T16_00_57-0400.png
Views:	198
Size:	53.2 KB
ID:	196481
PoP is offline   Reply With Quote
Old 09-13-2022, 09:59 AM   #492
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by PoP View Post
I followed your instructions and created a Wordwise database in french from the "Oxford Hachette English - French Dictionary".
One shortcoming of this code is some words might not included in the dictionary, that's why you still see some short glosses in English. All these Oxford dictionary files have the same XML structure, so the code can parse all of them. But this will become another disadvantage when Amazon change the XML.

Parsing non-English Wiktionary surely would help a lot but the wikitextprocessor and Wiktextract code are not very easy to modify(thousands lines of nested functions and tons of hard coding strings).
xxyzz is offline   Reply With Quote
Old 09-17-2022, 09:41 AM   #493
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
I have created two pull requests to enable wiktextract to parse non-English Wiktionary dump files:
The maintainers haven't give any response yet... With these changes, the Chinese Wiktionary dump file can be parsed. For other languages, some data files need to be created first(those JSON files in the "data" folder in each projects).

All tests passed for both projects, but a lot of work is needed to fully support each new language.

Last edited by xxyzz; 09-17-2022 at 09:47 AM.
xxyzz is offline   Reply With Quote
Old 09-23-2022, 04:52 AM   #494
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Chinese Wiktionary glosses for EPUB Word wise are supported, please download the test plugin zip file from GitHub Actions to test it: https://github.com/xxyzz/WordDumb/ac...uns/3111428012.

I also upload the processed Chinese Wiktionary JSON files at here: https://github.com/xxyzz/wiktextract...uns/3109743850

Last edited by xxyzz; 09-23-2022 at 04:58 AM.
xxyzz is offline   Reply With Quote
Old 09-27-2022, 02:45 AM   #495
sonycrank
Junior Member
sonycrank began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2022
Device: Kindle
Does the fandomwiki feature working? Because my X-Ray Pop-Up are just mentions about the Characters but no fandom wiki. Even after i added custom fandom url like :https://lotr.fandom.com/
sonycrank is offline   Reply With Quote
Reply

Tags
worddumb, x-ray


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] CalibreSpy DaltonST Plugins 245 08-18-2024 09:33 PM
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 02:43 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 01:38 PM.


MobileRead.com is a privately owned, operated and funded community.