|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,091
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
XML Language Tag question
I had a UK book with UK spellings, so I thought I'd tell the book it's a EN-GB language book.
W3schools helped me with the syntax, and I think I got it correct (see picture) Do I have to add the tag to each file's <html> section, or is there another way to do it? |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,325
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Moderator Notice
This is a General EPUB question, Not limited to Calibre. Moving |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Specify the language in the book's metadata, there should be no need to add it to every file.
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,091
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Thanks
1. First thing I tried was in the Metadata edition. 'English' is allowed, but 'en-GB' was not, and there didn't seem to be any 'sub-languages (?)' allowed 2. The OPF had Code:
<dc:language>en</dc:language> Code:
<dc:language>en-GB</dc:language> It'd be nice if the metadata editor [Language] would allow 'sub-languages' since that's more user friendly that editing the OPF directly (just MHO) |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Sigil does have the option to select different types (styles?) of English directly in the metadata editor.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,091
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
@Toxaris -- when I was using Sigil, I never had reason to do anything that advanced.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| automatic language tag generation | donald1 | Plugins | 1 | 07-25-2013 11:12 AM |
| Date tag question | curiousgeorge | ePub | 2 | 12-03-2012 11:38 AM |
| No language tag in Ubuntu | karlheinzbehr | Calibre | 2 | 02-19-2012 12:23 PM |
| Metadata/tag question | sadievan | Calibre | 3 | 12-27-2010 04:38 PM |
| img tag question.. | scott.a.andrew | ePub | 9 | 02-18-2010 03:38 PM |