01-26-2017, 04:21 PM | #1 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Question about lang errors in Flight Crew check
I was making some minor changes to an epub and Flight Crew turned up all these lang errors (that I didn't notice before!). See screenshot. There are ten or so errors and they all refer to the same Spanish issues as in the screenshot.
The epub passes Doitsu's epub check and it passes the Int'l Digital Publishing Forum's EPUB validator. I'm hoping the book is fine as it is but I wanted to ask about these lang issues just in case I had to do anything about them. (I'm hesitant to make any changes because I've looked at my Kindle and the spanish stuff looks fine in there (it's just italicized) and the book is selling and no one's complained about anything so I don't want to screw things up.) Thanks. |
01-26-2017, 04:40 PM | #2 | |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
01-26-2017, 06:09 PM | #3 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
He is trying to identify the words in a foreign language used in a book predominately in English. From what I understand, using span tag instead of an italic would probably be better, but FlightCrew checks epub2 not epub2.1 so the language attribute lang= is not recognized by Flightcrew but is now legal! The attribute xml:lang= is a recognized attribute by FlightCrew. That is why most books tell you to use both attributes.
I would check this with Doitsu's epubcheck plugin. It is probably all okay. If it passes epubcheck, I would ignore it in FlightCrew as adding the lang= attribute came after Flightcrew was designed. KevinH |
01-26-2017, 06:54 PM | #4 |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is FlightCrew ever going to be updated? If not, just stick with epubcheck that does get updated (IMHO).
|
01-26-2017, 07:12 PM | #5 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Thanks Jon. Using the <i> would definitely simplify things. I didn't come up with the lang stuff. A friend who knows a ton suggested it. I just found an old email where he explained some of the benefits. The main thing was that it would identify the words as Spanish and give the spellchecker the ability to utilize a Spanish dictionary so there would not be those squiggly lines under the word identifying it as mispelled. And he said that it could come into play somehow with text-to-speech stuff.
|
Advert | |
|
01-26-2017, 07:27 PM | #6 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
Since it looks okay in my Kindle I'm going to leave it. |
|
01-26-2017, 08:46 PM | #7 | |
Well trained by Cats
Posts: 29,807
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:
As you noticed, many checkers are behind and many 'publishing' houses will give you grief over this valid code |
|
01-27-2017, 12:33 AM | #8 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
|
||
01-27-2017, 01:09 AM | #9 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
|
01-27-2017, 01:10 AM | #10 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
|
01-27-2017, 04:33 AM | #11 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
01-27-2017, 05:21 AM | #12 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
I would also be interested if any of the Android readers (or iBooks?) implement different voices for English/Spanish text-to-speech. EPUB3 Note: I know EPUB3 also tried to introduce a lot of the CSS3 voice stuff (like specifying Male/Female)... but not too sure how prevalent this stuff is in actual reading systems: https://idpf.github.io/a11y-guidelin...ts/speech.html Also, some markup + lang/xml:lang code might also allow you to introduce text-to-speech with American English (Male/Female), British English (Male/Female), Spanish, [...]. I could see something like that being helpful in a play... or your typical book. Last edited by Tex2002ans; 01-27-2017 at 05:29 AM. |
||
01-27-2017, 05:26 AM | #13 | |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-27-2017, 06:32 AM | #14 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
01-27-2017, 07:31 AM | #15 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Looks like I have to take that back. I am sure I have tested this in the past and it did work. But, digging out a book I knew I had done this for, it doesn't work now. I'll have to see if I have some notes on this and see if I can work out what's happening.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I have 3 errors running my ebook thru VALIDATE using Flight Crew, any advice??? | ThatNativeThomas | Sigil | 3 | 11-16-2015 01:40 PM |
Flight Crew ValidateEpub method | davidnwelton | Sigil | 11 | 11-04-2013 10:28 AM |
Help please with Flight Crew error message ??? | wannabee | ePub | 9 | 08-10-2011 09:27 AM |
Flight Crew report | crutledge | Sigil | 4 | 01-13-2011 07:06 PM |
Flight Crew | Hitch | Sigil | 2 | 10-29-2010 05:28 AM |