View Single Post
Old 01-24-2012, 01:14 AM   #141
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: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
For ru_RU, the gettext messages are indeed empty, so this is expected. However, for (almost all) other locales I tested, they are *not* empty, yet I *still* get an "empty" screen (no text). (For example, "pl" locale). Could you test the pl locale on your device and report back, please?
Yes, I'm observing [almost] empty USB charging screen on pl_PL.UTF-8 locale after installing of pl localization bundle.

It looks like creating of sub-directory at /usr/share/locale and setting of appropriate environment variables (by filling of /var/local/system/locale) aren't enough for using localized messages. The locale by itself must be introduced. Known locales are contained at /usr/lib/locale/locale-archive. On my KT, I am seeing there strings en_US.utf8, de_DE.utf8, ru_RU.utf8 and some others, but there is no pl_PL.utf8. Locale could be added to locale archive by localedef utility (which is available on KT), but I didn't investigate further...

..oh, output of strings /usr/lib/locale/locale-archive | grep utf8 and localedef --list-archive is identical. Just a note.

Quote:
Originally Posted by ixtab View Post
Hmmm... after only installing the ru_RU install package (and doing nothing else), my Kindle gives:
Code:
[root@kindle root]# cat /var/local/system/locale 
LANG=ru_RU.utf8
LC_ALL=ru_RU.utf8
Is this different for you? (I'm expecting "ru_RU.UTF-8" to be the result of the update, not "ru.UTF-8")
There is no automatic change of locale after installing of localization bundle (I understand that it's not a bug). I've changed locale manually, with editing of /var/local/system/locale, and firstly set it as ru.UTF-8 (because there is /usr/share/locale/ru directory). It didn't worked. So I've made a note about it, just for sharing of experience.
eureka is offline   Reply With Quote