Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2014, 12:22 PM   #1
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Arrow Paperwhite 2 localization in Czech

RELEASED:
Kindle Paperwhite 1 is now supported as well !

I'm trying to localize PW2 to Czech and I am quite successful so far.
I took a different approach than ixtab & Co.
Instead of adding a new locale, I just 'replaced' en_GB specific files with Czech counterparts. I know that it is not POSIXly correct but it's much easier. Adding new files would be very difficult as many resources happen to dwell inside CramFS loopback files. One English locale is more than enough for a non-English speaking user anyway.

I've used Sir Alex' K3Translator to inject Czech phrases into the JARs instead of the British ones. It's very similar to K3 localization process.
To be on the safe side I don't overwrite stock files and dirs but bind-mount the Czech replacement instead. The only addition to the system is a simple upstart config file that performs the bindings listed in userstore.
An upstart config file unpacks localized files on boot, making backup when needed.

This approach should work on all Kindle models, even Kindle Touch.

I'm looking for volunteers brave enough to test the localization or able to help with translation.
When the Czech localization is ready I will be prepared to help with localizing to other languages.
Attached Thumbnails
Click image for larger version

Name:	screenshot_2014_02_02T15_10_42+0100.png
Views:	582
Size:	44.8 KB
ID:	118642  

Last edited by dsmid; 03-18-2014 at 10:44 AM.
dsmid is offline   Reply With Quote
Old 02-06-2014, 01:55 AM   #2
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
The project is now hosted on GitHub: https://github.com/dsmid/kindle-pw2-l10n-cs

Here's a FAQ in Czech, you can safely ignore it if you can't speak Czech:

Spoiler:

Malý FAQ k tématu:

1. Jak mohu přispět

Potřebuji pomoci jednak s překladem (k tomu stačí dobrá znalost angličtiny a češtiny + práce s čistě textovými soubory na PC) a také s testováním přímo na Kindlu (k čemuž stačí pouze šťouravost a malý kousek odvahy).


2. Je možné po experimentech vrátit čtečku do původního stavu?

Ano je. Jediné co v systému přibude bude jailbreak (tj. jeden soubor s certifikátem navíc) a zavaděč lokalizace (opět jeden soubor navíc).
Obojí bude možné odinstalovat.


3. Nepřijdu o záruku?

Ne. Amazon vrácené Kindly nijak nezkoumá a v aktuálních reklamačních podmínkách se žádný zákaz manipulace s firmwarem nevyskytuje.
Jedině snad český prodejce by mohl zásah do firmware použít jako záminku pro neuznání reklamace - ale to by se to musel nejdříve nějak dozvědět. I to by však bylo po právní stránce velice sporné, zvlášť pokud byste reklamovali fyzickou závadu.


4. Jakým způsobem přispět k překladu?

Překlad i vše co je potřeba k tvorbě lokalizačního balíčku je na GitHubu: https://github.com/dsmid/kindle-pw2-l10n-cs
Stačí si tam založit účet a vytvořit svůj fork projektu. Pak je možné editovat překlady buď přímo na webu nebo u sebe v počítači.
Pokud budete pracovat na webu, ujistěte se prosím, že máte v editoru nastaven Indent mode na Tabs, ne Spaces.
GitHub klient pro Windows se dá stáhnout tady: http://windows.github.com/ fungují samozřejmě i běžné nástroje pro práci s gitem.
Každou změnu (tzv. commit) můžete sloučit s hlavním repozitářem (pull request). Doporučuji posílat pull requesty často, aby se nestalo, že budou dva lidé pracovat na překladu stejných frází.

Hlavní část překladu je možné nalézt v adresáři translation_5.4.2/translation https://github.com/dsmid/kindle-pw2-....2/translation
Je tam poměrně košatý strom souborů s příponou .translation .
Ty mají následující formát:

Code:
<fráze v angličtine><TAB><fráze v češtině>
<fráze v angličtine><TAB><fráze v češtině>
...
Příklad: https://github.com/dsmid/kindle-pw2-...GB.translation

<TAB> je ASCII znak 09h, tj. tabelátor, není možné místo něj použít mezery a na každé řádce by měl být pouze jednou. Pokud chybí český překlad, ve výsledku se zachová anglický výraz.

Tj. stačí dále už jen stačí procházet strom, nalézat soubory s příponou .translation a v nich nepřeložené hlášky.
V tom může pomoci index nepřeložených hlášek ("View raw" pro stáhnutí):
https://github.com/dsmid/kindle-pw2-...translated.zip
dsmid is offline   Reply With Quote
Old 02-06-2014, 02:01 AM   #3
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
BTW does anybody have an access to the old KT localization projects on Transifex ?
I need to download the translation hosted there but I am not allowed to because I am not member of any of the teams (adding me to the teams doesn't seem to be likely as the project managers seem to have lost interest long time ago).
It would really help me if anybody would download the files for me, it should be piece of cake using the transifex client.
dsmid is offline   Reply With Quote
Old 02-06-2014, 03:31 AM   #4
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,634
Karma: 1915537
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
do you mean these:
https://www.transifex.com/projects/p...uch-framework/
https://www.transifex.com/projects/p...-touch-locale/
https://www.transifex.com/projects/p...-touch-pillow/
https://www.transifex.com/projects/p/kindle-touch-waf/

if you request to join to Turkish teams, I can approve.

BTW: Thanks for this effort I may join for Turkish.

Last edited by thomass; 02-06-2014 at 04:07 AM.
thomass is offline   Reply With Quote
Old 02-06-2014, 04:15 AM   #5
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Thanks for your offer, thomas.
I've asked for joining but I think I will be able to download Turkish translation only when approved. Nevertheless it's worth a try.
dsmid is offline   Reply With Quote
Old 02-06-2014, 04:36 AM   #6
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Hurray ! I was able to download all the translation with tx pull -a -f .
dsmid is offline   Reply With Quote
Old 02-06-2014, 11:42 AM   #7
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 710
Karma: 2290994
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by dsmid View Post
(adding me to the teams doesn't seem to be likely as the project managers seem to have lost interest long time ago)
AFAIR, I have administrative rights on that localization project, so sorry for that. You are right, I really lost my interest and don't track translators' requests anymore (shame on me ). Do you want to maintain project or re-use it for your needs? I can assign you full administrative rights and you will be able to open access to anyone (or for everyone).
eureka is offline   Reply With Quote
Old 02-06-2014, 12:55 PM   #8
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Thanks eureka, but I don't need to access Transifex any more.
I was able to import the Transifex translation into SQLite DB & my GitHub tree.
dsmid is offline   Reply With Quote
Old 02-07-2014, 04:53 AM   #9
chris73
Junior Member
chris73 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2014
Location: Poland
Device: Kindle PW2
Great job !

I' waiting impatiently for your work to be finished ! I would like to change interface to Polish and AFAIK we will not get it from official update.. Also some polish special characters are misssing in keyboard so - good luck !
chris73 is offline   Reply With Quote
Old 02-07-2014, 05:31 AM   #10
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Yes, Czech or Polish isn't going to happen but to my great surprise, Paperwhite 2 is officially localized to Albanian !
Well, sort of...
There are sq (=code for Albanian) localization files but they contain strings like these:
Code:
Públíshër Fřnt
Păgë ňr Lócätîôn
Břňk Dęscrěptíón
Thč fűrthést ręĺd lôcŕtďőn ácröss âll yřůr dëvěcčs ís {2}. Gň tó thăt lôcätîőn?
So if you learn some English, Albanian is a piece of cake then
But don't try to talk this lab126 dialect in Tirana...
dsmid is offline   Reply With Quote
Old 02-07-2014, 06:03 AM   #11
chris73
Junior Member
chris73 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2014
Location: Poland
Device: Kindle PW2
Great discover ! But you're right - in Albania you could be misunderstood using this dialect

By the way: is it necessary to jailbreak Paperwhite in your method ? (I'm quite new with Kindle devices so sorry for such a question)
chris73 is offline   Reply With Quote
Old 02-07-2014, 06:45 AM   #12
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by chris73 View Post
is it necessary to jailbreak Paperwhite in your method ?
Yes, it is. It is needed to add one file to system partition and that's not possible without jailbreaking.
But the new jailbreak method is very fast and simple, especially compared to Kindle 4 jailbreak.
dsmid is offline   Reply With Quote
Old 02-08-2014, 08:21 AM   #13
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
We have the first test release:
https://github.com/dsmid/kindle-pw2-l10n-cs/releases/

It is incomplete, most probably contains bugs and it can make you Kindle explode and burn down your house etc.
Install at your own risk, you've been warned.

Last edited by dsmid; 02-12-2014 at 02:04 AM.
dsmid is offline   Reply With Quote
Old 02-08-2014, 06:45 PM   #14
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 710
Karma: 2290994
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by dsmid View Post
Yes, Czech or Polish isn't going to happen but to my great surprise, Paperwhite 2 is officially localized to Albanian !
Well, sort of...
There are sq (=code for Albanian) localization files but they contain strings like these:
Code:
Públíshër Fřnt
Păgë ňr Lócätîôn
Břňk Dęscrěptíón
Thč fűrthést ręĺd lôcŕtďőn ácröss âll yřůr dëvěcčs ís {2}. Gň tó thăt lôcätîőn?
So if you learn some English, Albanian is a piece of cake then
But don't try to talk this lab126 dialect in Tirana...
wiki/Padonkaffsky_jargon#Origin_and_etymology
eureka is offline   Reply With Quote
Old 02-10-2014, 07:30 AM   #15
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 544
Karma: 2030353
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Everything went well until I encountered ACXs
I thought just repacking them is enough but they have to be signed !
I will use this info to implement signing but I hope Kindle won't refuse ACX replacements signed with my key...
dsmid is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 Kindle 3 localization JirkaS Kindle Developer's Corner 269 12-07-2013 12:13 AM
[Kindle Touch] Localization ixtab Kindle Developer's Corner 380 09-13-2013 03:23 AM
K5 Kindle Paperwhite Localization Kind1e Kindle Developer's Corner 1 01-10-2013 02:01 PM
Calibre2opds Localization itimpi Related Tools 0 01-14-2012 11:58 AM
Localization project at the Forum paula-t enTourage Archive 2 04-20-2011 12:21 AM


All times are GMT -4. The time now is 07:39 AM.


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