Quote:
Originally Posted by eureka
Should additional locale definition be contained in an additional file with format of default.properties or it should be added as something else?
|
It's one file per locale. In principle, the file name doesn't matter. Here are the ones I created:
Code:
[root@kindle locales]# cat de.properties
locale=de
locales.supported=de-DE
display.name.de-DE=Deutsch
[root@kindle locales]# cat pl.properties
locale=pl
locales.supported=pl-PL
display.name.pl-PL=Polski
posix.id=en_US.UTF-8
Quote:
Originally Posted by eureka
Langpicker UI could be invoked (I assume) with sending event via lipc. Look into /etc/upstart/langpicker.conf. But I didn't managed to create additional locale definition so that it could be seen by langpicker (but it's definitely must be located in /opt/amazon/ebook/config/locales/). And when langpicker sees only one locale definition, it chooses it automaticaly without showing GUI.
|
Oh, I see. Yep, "lipc-send-event com.lab126.blanket.langpicker pickLocale" shows the locale-picker screen indeed. Still, if you're interested in the additional settings, use the attached file: rename to .jar and drop it into /opt/amazon/ebook/lib/. Once you restart the framework, the "manage dictionaries" item on the settings page is replaced by "International".
(UPDATE: see my next post on how to access that page without needing this file!)
UPDATE2: It is strongly recommended to use the installer file linked from the first post, instead of this file.