Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2009, 11:34 AM   #16
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by nikitajy View Post
I started translating to Hebrew but then realized you can't read Hebrew on readers and the selection of ebooks in Hebrew is extremely limited, so I guess there's no point in doing that right now...

I love the app though
If you add this to your recipe:

Code:
extra_css = '@font-face {font-family: "serif0";src:url(res:///Data/FONT/serif0.ttf)} body{font-family: serif0, serif} .article_description{font-family: serif0, serif} a.article{font-family: serif0, serif}'
And create folder called FONT on your reader that contains hebrew TTF font that you have to rename to serif0.ttf you will be able to read Hebrew texts now.

The same thing I used for all russian recipes.
kiklop74 is offline   Reply With Quote
Old 03-03-2009, 02:33 PM   #17
vincent_c
Enthusiast
vincent_c began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Mar 2009
Device: Bookeen Cybook Gen3
kovid,

Could you give more details about 'recipe' ?
Is it possible to translate it as a 'script library' ? I can't find the good translation in french.
vincent_c is offline   Reply With Quote
Old 03-03-2009, 02:49 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In calibre recipe is basically a set of instructions that telll calibre how to download news from a given RSS feed/website. It is like a cooking recipe (which is a set of instructions on how to prepare a dish). So I would recommend translating it as 'recipe' in french, if possible or if not as 'set of instructions'
kovidgoyal is offline   Reply With Quote
Old 03-03-2009, 03:38 PM   #19
vincent_c
Enthusiast
vincent_c began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Mar 2009
Device: Bookeen Cybook Gen3
Thank you for this answer, the translation will be validated with zelda and filip
vincent_c is offline   Reply With Quote
Old 03-04-2009, 03:46 PM   #20
nikitajy
Junior Member
nikitajy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Location: Israel
Device: PRS-700
Quote:
Originally Posted by kiklop74 View Post
If you add this to your recipe:

Code:
extra_css = '@font-face {font-family: "serif0";src:url(res:///Data/FONT/serif0.ttf)} body{font-family: serif0, serif} .article_description{font-family: serif0, serif} a.article{font-family: serif0, serif}'
And create folder called FONT on your reader that contains hebrew TTF font that you have to rename to serif0.ttf you will be able to read Hebrew texts now.

The same thing I used for all russian recipes.
Now it shows the font right, but it's reversed (left to right instead of right to left) so I can't read it...
nikitajy is offline   Reply With Quote
Old 03-04-2009, 03:52 PM   #21
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
OK, I forgot that Hebrew is RTL language.

Try this instead in your recipe:

Code:
extra_css = '@font-face {font-family: "serif0";src:url(res:///Data/FONT/serif0.ttf)} body{direction: rtl; font-family: serif0, serif} .article_description{direction: rtl; font-family: serif0, serif} a.article{direction: rtl; font-family: serif0, serif} p{direction: rtl; font-family: serif0, serif} '
Here I explicitly specify text direction.
kiklop74 is offline   Reply With Quote
Old 03-05-2009, 03:35 AM   #22
nikitajy
Junior Member
nikitajy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Location: Israel
Device: PRS-700
Quote:
Originally Posted by kiklop74 View Post
OK, I forgot that Hebrew is RTL language.

Try this instead in your recipe:

Code:
extra_css = '@font-face {font-family: "serif0";src:url(res:///Data/FONT/serif0.ttf)} body{direction: rtl; font-family: serif0, serif} .article_description{direction: rtl; font-family: serif0, serif} a.article{direction: rtl; font-family: serif0, serif} p{direction: rtl; font-family: serif0, serif} '
Here I explicitly specify text direction.
Still not working
It didn't change the direction...
nikitajy is offline   Reply With Quote
Old 03-05-2009, 05:19 AM   #23
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
can you post the font and the recipe you use so that I can check it out for the weekend?
kiklop74 is offline   Reply With Quote
Old 03-05-2009, 07:34 AM   #24
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
My language is finished.
I have translated only a small fraction of those 1135 strings.

Thank you Kovid for a very impressive work.
kacir is offline   Reply With Quote
Old 03-05-2009, 11:41 AM   #25
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Thanks for the translation
kovidgoyal is offline   Reply With Quote
Old 03-05-2009, 03:36 PM   #26
nikitajy
Junior Member
nikitajy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Location: Israel
Device: PRS-700
Quote:
Originally Posted by kiklop74 View Post
can you post the font and the recipe you use so that I can check it out for the weekend?
Code:
class AdvancedUserRecipe1236198700(BasicNewsRecipe):
    title          = u'Hebrew'
    oldest_article = 7
    max_articles_per_feed = 100
    
    feeds          = [(u'HebrewBlog', u'http://holland.blogli.co.il/feed/')]
    extra_css = '@font-face {font-family: "serif0";src:url(res:///Data/FONT/serif0.ttf)} body{direction: rtl; font-family: serif0, serif} .article_description{direction: rtl; font-family: serif0, serif} a.article{direction: rtl; font-family: serif0, serif} p{direction: rtl; font-family: serif0, serif} '
The font I used is just DejaVuSans (attached).

Thank you so much
Attached Files
File Type: gz DejaVuSans.ttf.gz (320.3 KB, 538 views)
nikitajy is offline   Reply With Quote
Old 03-06-2009, 02:09 AM   #27
June
Addict
June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.June ought to be getting tired of karma fortunes by now.
 
June's Avatar
 
Posts: 306
Karma: 4508151
Join Date: Aug 2008
Location: Scandinavia
Device: Kobo Libra, Oasis 1&2 and others
I'll look into it and translate to Swedish, and maybe Finnish, once I finish the XO-translations I'm working on at the moment (under 10.000 words left, yay!) so I'll probably get started in a couple of weeks unless someone else has done it by then. I'd rather not take a break from the etoys world, since it's easier to only translate one program at a time, less risk of mixing up stuff and being inconsistent
June is offline   Reply With Quote
Old 03-06-2009, 02:51 AM   #28
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by June View Post
I'll look into it and translate to Swedish, and maybe Finnish, once I finish the XO-translations I'm working on at the moment (under 10.000 words left, yay!) so I'll probably get started in a couple of weeks unless someone else has done it by then. I'd rather not take a break from the etoys world, since it's easier to only translate one program at a time, less risk of mixing up stuff and being inconsistent
Thanks, yeah it's probably a god idea to stick with one program at a time
kovidgoyal is offline   Reply With Quote
Old 03-21-2009, 05:52 AM   #29
vincent_c
Enthusiast
vincent_c began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Mar 2009
Device: Bookeen Cybook Gen3
Kovid,

I have found two items with %%default instead of %default, is it a keying mistake in orignal items or just a percent value ?
vincent_c is offline   Reply With Quote
Old 03-21-2009, 01:36 PM   #30
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It most probably comes from a situation where % replacing is applied twice, the forst time %% is converted to % so in the translation also it should be %%default (don't translate the default)
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just thought I'd call to say..... Krapmeister Introduce Yourself 12 07-27-2009 09:57 AM
Call for submissions Douglas Rhodes Writers' Corner 11 07-20-2009 02:58 PM
Last call for your entry! ravenne Lounge 52 06-26-2009 05:34 PM


All times are GMT -4. The time now is 02:25 PM.


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