View Single Post
Old 06-24-2015, 04:38 AM   #33
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by EngelS View Post
If I use the Italian language and replace it translated into Russian (trans_it.qm).
Then date on the home screen becomes Italian.
Unfortunately time/date formatting is provided by the OS and is independent of the translation function of the Qt application.

Quote:
Originally Posted by EngelS View Post
But if I change the option CurrentLocale = it_IT on CurrentLocale = ru_RU in file Kobo eReader.conf. Also copy "trans_it.qm" to "trans_ru.qm". Then date will appear in russian, but interface still remains in english.
Is there any way to do so, and the date and the interface is the same russian language?
The problem is that nickel only tries to load qm files of those languages that are officially supported. Maybe it is possible to add languages to the list of supported languages or maybe rather to replace a supported language by your own by patching nickel/libnickel.

I have installed the original English qm file as trans_ja.qm, and selected Japanese as interface language. The effect is that my interface is now in English, I can switch the keyboard between English and Japanese (that was my point of doing the whole thing), there is no italic formatting of menu entries any longer, and - this point might be interesting for you - the date is displayed as "2015/06/24". There might be some other changes that you would not like, for instance in the Settings > Date and time, the date is written in Japanese.

Last edited by tshering; 06-24-2015 at 04:48 AM.
tshering is offline   Reply With Quote