![]() |
#31 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,554
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#32 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
transifex has a command line client that might be able to do it. It will probably download all .po file and then you can use msgfmt --statistics to filter out those without translations.
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
[main] host = https://www.transifex.com [calibre-plugins.fanfictiondownloader] file_filter = translations/<lang>.po source_lang = en type = PO Code:
set PYTHONIOENCODING=UTF-8 c:\Python27\tx.exe pull --minimum-perc=90 -f -a cd translations for %%f in (*.po) do ( "C:\Program Files (x86)\Calibre2\calibre-debug.exe" -c "from calibre.translations.msgfmt import main; main()" %%~nf ) cd .. Since I also setup Transifix to automatically update from the .pot files in my source repositories, that's all I need to do, aside from check for new translations periodically. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thesis survey for authors, graphical designers, translators and editors | Yves Gorat | Writers' Corner | 2 | 02-16-2013 07:22 AM |
PRS-T1 Using a reader in co-operative text processing (editors, translators, academics?) | Janie Jones | Sony Reader | 7 | 01-12-2012 02:48 PM |
Call for translators | kovidgoyal | Calibre | 104 | 11-13-2011 06:39 AM |
Active german translators? | Manichean | Calibre | 7 | 04-21-2011 07:34 AM |
Translators Wanted | eBookLuke | Writer2ePub | 5 | 01-26-2011 08:57 AM |