View Single Post
Old 10-10-2014, 06:49 AM   #92
mobusr
Enthusiast
mobusr began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
Sorry for dumb questions, but I have to ask to not spend time again on finding this information.

Quote:
Originally Posted by dsmid
The problem with you approach is, that if you forget to add some part of localization, the device may brick.
If I forget to localize something, the original English resource will be used.
Is there any safe-measures (e.g. I have ssh started through wi-fi or might enable it again over USB) ?

Is sshd daemon starts before GUI starts on kindle?

Quote:
Originally Posted by dsmid View Post
I'm sorry, I don't have time to write the documentation right now (partly because it would be huge).
But I can give you few pointers.

Check /usr/share/keyboard.cramfs.img for keyboard layout and /usr/lib/locale.cramfs.img for glibc locale archive.
Yup, noticed these. I've already have keyboard installed through it-keyboard hack made by kaznelson. He just mounts --bind it keyboard, guess it's for safety too.

What about locale.cramfs.img, how do I generate locale-archive?

Quote:
Pillow localization is in /usr/share/webkit-1.0/pillow/locales/ (JavaScript)

Mesquite localization is in /var/local/mesquite/*/locales/ (JavaScript)
how do I generate same UTF-8 strings in \u quotation?

Quote:
ACX localization is inside each ACX module - /opt/amazon/acw/ (JavaScript/XML)
they're basically .ZIP files just renamed?

Quote:
It was not my intent to scare you, it's just that complicated, I'm sorry.
The github repo can be a good resource for your investigation:
https://github.com/dsmid/kindle-pw2-l10n-template

Anyway, should you have questions, feel free to ask.
many thanks!
mobusr is offline   Reply With Quote