![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2019
Device: Tolino
|
from Word to Calibre, but with extra Attributs
Hi,
I'm working - english ebook in Calibre converted to DOCX - DOCX translated with Google - copy/paste to Word, little formatting, and so - bring to calibre, converted to EPUB my little problem: I will get series and language information from DOCX, but it's working not: language is Hungarian, series can't load. can someone help me? |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
Open the content.opf file Look for <dc:language>en</dc:language> Change to <dc:language>hu-HU</dc:language> There may be other places language is specified, such as in the title page. Search for xml:lang="en" and change to xml:lang="hu-HU" Reading between the lines, I think that is what you are after. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
There are details missing in this. For example, when you put the translated DOCX back into calibre, are you replacing the existing one? Or adding it as a new book? |
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2019
Device: Tolino
|
Thanks, for the questions.
1) series: yes, series is not piece of docx, but while the word processing, i give this information handly for the filename. 2) in calibre Adding Books is a function: (?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ? or (?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ? can somebody decrypt it? I have normally the second, but if I know what this regular expressions means, can I give corresponding name, which include series and language. the text about regular expressions in calibre is too complicated for me. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Basically this is: Code:
author - series name series_index - title An example file name that would match is: Code:
Jim Butcher - The Dresden Files 1 - I can't remember what book one was called.DOCX Author = Jim Butcher Series = The Dresden Files Series index = 1 Title = I can't remember what book one was called |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2019
Device: Tolino
|
Thanx, I try it tomorrow
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any extra Calibre options when copying text from a book? | MoeReed | Calibre | 11 | 05-27-2024 02:59 AM |
Word To MOBI Blank Pages & Extra TOC; AZW3? | Luigi635 | Conversion | 6 | 02-22-2018 09:45 PM |
Calibre catalog: extra description note | Sirtel | Library Management | 5 | 09-18-2015 02:26 PM |
Calibre 2.0 Extra Columns in Windows 8.1 | JSWolf | Calibre | 22 | 08-29-2014 08:43 AM |
Check Library, Extra Authors, Extra Titles | copyrite | Calibre | 2 | 08-03-2012 01:35 PM |