|
|
#1 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
one more thing i installed eclips also set the PyDev environement, i need to know now how to open and work with calibre within this environement and how would i be able to debug and trace using it ? ? thanks a lot. looking forward to have a reply. Last edited by Naderstouhy; 07-13-2011 at 08:22 AM. |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre.utils.localization
Instructions on how to test changes to translations are here: http://calibre-ebook.com/get-involved You cannot change the folder naming scheme. I dont use PyDev, so I cannot help you with that.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
i've been reading this manual for ages
lol Mr kovid what do you mean by "You can test your .po file by running calibre from the command line from the directory in which the .po file resides "? i tried to change the environement path of calibre to ...../src/calibre/translations/ (didn't work) furthermore i tried to run the __init__.py (in the translations directory ) from the cmd line i had few errors regarding the second arg which is the URL, please i just need to know what i need to do in order to update these translations ? Quote:
|
|
|
|
|
|
|
#4 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open a command prompt. change your directory to the directory containing the .po file.
Run calibre
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#5 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
what i did : from the command line c:/python25/.../translations :start "c:/program files/calibre2/calibre.exe"
also i tried : c:/python25/.../translations : calibre.exe ( nothing happens ) output : no execution.. also i tried from the bazaar to commit -m "" c:/.../translations output : no changes found. any hints ? thanks |
|
|
|
|
|
#6 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The command to change directories is cd
use it to change the directory first, then launch calibre.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#7 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
Than i'm sure i did it and unfortunately it didn't work i dunno why .. i even tried to run calibre remotely from this directory but it didn't work as well, what may be the solution ? can i update the translation from within the code ? i tried to modify some code in order to be able to update the message.mo & iso639 files but couldn't find any good result as well. thanks a lot for you precious time.
![]() |
|
|
|
|
|
#8 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
look at lines 74-79 in localization.py they are what loads the .po file from the current directory.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#9 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
i tried everything within this code, i think it's something related to the Translations.py, the Translations(POT) am i right ? if so what do this function do take as parameter ?
|
|
|
|
![]() |
| Tags |
| isbn, translation |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Couple of questions | alfytheige | Which one should I buy? | 13 | 01-21-2011 03:35 AM |
| a couple of questions | daizyduke | Astak EZReader | 4 | 12-10-2009 08:19 PM |
| A couple of questions | Metathron | Bookeen | 12 | 07-31-2009 07:05 AM |
| Couple of questions | royboy99 | Sony Reader | 3 | 03-26-2009 06:53 AM |
| Couple of questions... | Diegan | HanLin eBook | 8 | 01-23-2009 04:57 PM |