View Single Post
Old 01-22-2012, 07:07 AM   #127
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
So.... status report:

I have added the capability to create installer and uninstaller files, as well as support for "semi-translated" files. Attached is a snapshot containing installers/uninstallers for all currently available locales. If you want, you can test-drive your localization.

These files have been produced by issuing:
Code:
java -jar ~/kindle-touch/localization/kindle-touch-l10n/tool/kt-l10n.jar dist -s ~/kindle-touch/localization/kindle-touch-l10n-tx-full/src/5.0.0/ -t /tmp/kt-loc/update_LOCALE_TYPE.bin -k ~/kindle-touch/KindleTool/KindleTool/kindletool -f ALL
I have tested a few of the translations. There seems to be something weird happening with blanket. For example, in USB Drive Mode, I only see messages in the german locale. I have tried a few others, but for all of them I only get a screen without text (only showing the USB plug). I have double- and triple-checked this. For example, the polish translation looks perfectly correct. Still, no message is shown. What's going on there?

There are also some issues with blanket for Thai, for example. Here's some output:
Code:
[root@kindle root]# showlog |grep th_TH
120122:104525 blanket[1087]: I langpicker:CHANGE_LOCALE:newLocale=th-TH, posixID=th_TH.utf8:changeLocale called
120122:104530 blanket[1087]: E langpicker:POSIX_LOCALE_NOT_CHANGED:posixID=th_TH.utf8:setlocale() call failed-- blanket locale not changed
120122:104530 cvm[1190]: I handleLocaleChange:handleLocaleChange:locale=th_TH.utf8:localeChange event received
120122:104530 blanket[1087]: I langpicker:LOCALE_CHANGE_SENT:langTag=th-TH,posixID=th_TH.utf8:Successfully sent localeChange event
120122:104610 system: I locale:read:lang=th_TH.utf8,lc_all=th_TH.utf8:Retrieved Language
120122:105036 system: I locale:read:lang=th_TH.utf8,lc_all=th_TH.utf8:Retrieved Language
Aside from blanket, the actual UI localization works perfectly for all languages I have tested. If anyone can provide some insight on the blanket issues, I'd be grateful.

Note that the installer only installs the language, but does not activate it. To activate it, you have to manually select it (you may need the file from https://www.mobileread.com/forums/sho...30&postcount=6 to enable "International" settings). The uninstaller will reset the language to english IF (and only if) you're uninstalling the currently active language.

It's still a bit rough around the edges, and we need to figure out some blanket issues. But I guess this could be considered a first usable version.
Attached Files
File Type: zip kt-loc-snapshot-20120122-all.zip (260.5 KB, 232 views)
ixtab is offline   Reply With Quote