Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2023, 06:05 PM   #151
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Sad that is so poor. That python program does allow a file of translated word replacements (one per line) that could be used to fix some of the most egregious single word errors. But building that list would require translating and reading the translation to build up such a list.

It is too bad you can not somehow inform Google Translate of the general topic area so that these terms/words with multiple meanings could be more intelligently translated.

I wonder if building a translation helper using the sigil_*.ts files built by human translators would be possible to handle things like "Save As" and other Sigil menu commands that we know the proper translations for.

Thanks for reporting back on how poor the translation was and why.
KevinH is offline   Reply With Quote
Old 02-02-2023, 06:29 PM   #152
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by KevinH View Post
Just to be clear as I have no history with translation software, are you saying there is no value at all in starting an epub translation using Google Translate?
Better to leave it to each individual person to use what tools they want.

Like PocketBook allows you to auto-translate ebooks on-the-fly—similar to Google Translate on websites—and you can even choose between translation engines.

(For example, DeepL is consistently better than Google Translate.)

- - -

Note #1: Also, I'd be very careful, because like BeckyEbook said—these tools completely botch translation on things like menu items, commands, technical terms, etc. + they are too literal.

As always, it's better to have a human who actually reads the language go through and correct.

For example, one of the terms is called "expert-in-the-loop". See:

To release raw auto-translated documents as is is just a recipe for disaster.

- - -

Note #2: And, there's a ton of advancements happening in "machine learning translation".

If you release some crappy "English->French auto-translated" EPUB from 2 years ago, it would be beat out by a more recent "English->French on-the-fly" translation today.

(Reminds me of people who post auto-translated stories... but never post the original source language! You come across these things 5-10 years later, and you just facepalm at how awful it is!)
Tex2002ans is offline   Reply With Quote
Old 02-02-2023, 06:47 PM   #153
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
We are only exploring Google Translate and this tool as a possible means to kick start a human translation. Not to produce a completed product with it.
KevinH is offline   Reply With Quote
Old 02-02-2023, 07:29 PM   #154
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Yeah, my wife (HS Latin teacher) laughs at students when they try and turn in homework...it is blatantly obvious that they attempted to use google translate...it is soooo bad/wrong.
It actually does OK for some of the more common languages, especially if there is a good base of users that are willing to make corrections when Google gets it wrong. However, it's amazing that there aren't very many Latin teachers that want it to get fixed...it's to easy to catch the cheaters! It's also kind of ironic because Latin would be one of the easier languages for a translation software to get right - its a very straightforward language that follows very specific rules...
Turtle91 is offline   Reply With Quote
Old 02-03-2023, 02:26 PM   #155
User_Z
Connoisseur
User_Z began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Hello.

I would like to discuss another question.

Since I started working on the translation, one problem came up.
The thing is that the font built into the Guide, which is used to display headings, does not have a Cyrillic capitel. This makes titles and headings look just awful.

Thought I'd find the right font quickly. But it turned out to be not quite an easy task. In Cyrillic, the lower case letters are almost exactly the same as the uppercase letters (except for a few), so the capitel is not used very often. Fonts seem to be there and in the description it is stated capitel, but when you look at the screen it becomes clear that it is not, at best a pseudo-capitel.

After all sorts of searches, trials and frustrations I managed to find a more or less suitable font (https://www.myfonts.com/collections/mir-font-juliasys). Now, in my opinion, everything looks very decent.

It remains to figure out the nuances of the license. Did I understand correctly that this font can be used in the Guide or not? Please clarify this point.

The license file:
Attached Files
File Type: doc Monotype Font Software End User License Agreement.doc (27.5 KB, 34 views)
User_Z is offline   Reply With Quote
Old 02-03-2023, 03:15 PM   #156
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by User_Z View Post
It remains to figure out the nuances of the license. Did I understand correctly that this font can be used in the Guide or not? Please clarify this point.
Unfortunately, the MIR font that you've found is a commercial font that requires an annual license fee.

Please check out the following alternative fonts:

Linux Libertine (SIL Open Font License)
Google Noto (SIL Open Font License/Appache License)

Linux Libertine looks like this:

Last edited by Doitsu; 02-03-2023 at 03:57 PM.
Doitsu is offline   Reply With Quote
Old 02-04-2023, 12:29 AM   #157
User_Z
Connoisseur
User_Z began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Quote:
Originally Posted by Doitsu View Post
Unfortunately, the MIR font that you've found is a commercial font that requires an annual license fee.
Interesting.

The thing is, I conditionally bought one font from the MIR set, namely Mir-Medium, for 0.0 conventional units. And in the license file it says that I can embed the font and pass it on to third parties, provided that the font is not for sale.
User_Z is offline   Reply With Quote
Old 02-04-2023, 06:54 AM   #158
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by User_Z View Post
Interesting.

The thing is, I conditionally bought one font from the MIR set, namely Mir-Medium, for 0.0 conventional units. And in the license file it says that I can embed the font and pass it on to third parties, provided that the font is not for sale.
Are you planning on giving away (gratis) your book?
Legal double speak is what causes nightmares.
If the font is embedded, then you are selling the font (as part of your book).
Encrypting the font might get you pass that.
(I am clearly not a Lawyer)
theducks is offline   Reply With Quote
Old 02-04-2023, 07:47 AM   #159
User_Z
Connoisseur
User_Z began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Quote:
Originally Posted by theducks View Post
Are you planning on giving away (gratis) your book?

Of course, what a question. After I finish translating it, I'll post it to the Guide for free, no-pay access.
Why translate it then?
User_Z is offline   Reply With Quote
Old 02-11-2023, 12:13 PM   #160
User_Z
Connoisseur
User_Z began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Hello.

Help is needed.
Today, while working on the translation of the Guide, the electricity was urgently cut off (however, this is already a common occurrence).
Now I can't open the file. If nothing works out, a huge piece of work down the drain.

Who will advise what? What to do?
Thank you.
User_Z is offline   Reply With Quote
Old 02-11-2023, 12:42 PM   #161
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
If you used Sigil's Checkpoint feature you may have a recent backup.

If not, the only possible way for Sigil to corrupt a file is for the power to fail during an actual flle save operation and even then Sigil uses an atomic write to a temp file then copies it over so losing something during a power failure is actually very very hard and impossible if you use file save as.

First make a copy of the file that won't open onto a usb key for safe keeping.

Look in your os tmp folder and search for a known internal epub file names there as the working copies of the epub files may still exist on disk and therefore can be salvaged. You may even find the actual epub there if the power failed when saving under a temporary name.

If no luck then try running a disk utility program to help fix any interrupted file writes and make your drive accessible. This should work if you use a journaled file system.

You can also try renaming a copy of the epub file to be .zip and try a zip repair program on it since an epub is just a special zip archive.

Hope something here helps.

Last edited by KevinH; 02-11-2023 at 12:49 PM.
KevinH is offline   Reply With Quote
Old 02-11-2023, 01:01 PM   #162
User_Z
Connoisseur
User_Z began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
WinRAR and 7-Zip report that the file is not an archive.
User_Z is offline   Reply With Quote
Old 02-11-2023, 01:01 PM   #163
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by User_Z View Post
Today, while working on the translation of the Guide, the electricity was urgently cut off (however, this is already a common occurrence).
Now I can't open the file. If nothing works out, a huge piece of work down the drain.
Quote:
Originally Posted by KevinH View Post
Look in your os tmp folder and search for a known internal epub file names there as the working copies of the epub files may still exist on disk and therefore can be salvaged. You may even find the actual epub there if the power failed when saving under a temporary name.

If you have a Windows machine try the following:
  • Press WIN+R or right-click the Start menu and select Run.
  • Enter %tmp% and hit Enter. This should open the Temp folder.
  • Look for folders that start with Sigil- e.g. Sigil-uXBtlN. If you're lucky you'll find the latest user guide manual files there, provide that you frequently saved the files.
  • If so, zip up the folder, rename it, change the extension to .epub and try to open it with Sigil.

Last edited by Doitsu; 02-11-2023 at 01:03 PM.
Doitsu is offline   Reply With Quote
Old 02-11-2023, 01:16 PM   #164
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
Doitsu has already described everything, but I am attaching an additional picture instruction in PDF. I'm keeping my fingers crossed that it succeeds.
Attached Files
File Type: pdf how_to_recover_epub_file.pdf (582.6 KB, 43 views)
BeckyEbook is offline   Reply With Quote
Old 02-11-2023, 01:27 PM   #165
User_Z
Connoisseur
User_Z began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
So far, nothing works.
I'm desperate. Half of the work has been done.

Here is the failed file itself and screenshots after manipulations with temporary folders:
Attached Thumbnails
Click image for larger version

Name:	err1.png
Views:	31
Size:	7.4 KB
ID:	199647   Click image for larger version

Name:	err2.png
Views:	29
Size:	7.7 KB
ID:	199648   Click image for larger version

Name:	err3.png
Views:	30
Size:	7.5 KB
ID:	199649  
Attached Files
File Type: epub Sigil_User_Guide_RU.epub (7.60 MB, 26 views)
User_Z is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Translating KOReader leschek KOReader 107 03-17-2023 04:19 PM
Translating using Calibre P.Jourdan Editor 5 04-29-2021 06:32 PM
Footnotes not translating HowardBrazee Calibre 7 08-14-2015 08:43 AM
Translating my plugin? silentguy Plugins 4 01-19-2011 11:00 AM
Translating MR stories Verencat Lounge 11 05-31-2009 12:00 PM


All times are GMT -4. The time now is 08:22 AM.


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