![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
Interface language
I wont to translate GUI interface to Russian language.
Anybody know where is stored text strings? which file? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
The (most?) text strings are stored in usr/local/Kobo/nickel. This file contains among other things several zlib-compressed blocks. Nine of these blocks contain the text strings of the supported languages.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
The starting addresses in FW 3.13.1 are as follows. For language identification I add one example string for each language. (I chose it randomly.)
2D1C8B (Notitie opgeslagen) 2F62F9 ( コメントを保存しました) 3B37CC (Notiz erfolgreich gespeichert) 3D9BE1 (Nota guardada corretamente) 3FDE8C (Note enregistrée) 31D644 (Note saved successfully) 38E2CC(Nota salvata con successo) 345B39 (Observação salva com sucesso) 369E5C (Nota guardada correctamente) The language string is in 2 byte annotation, e.g. space = \x00\x20. It is followed by the reference string in English in simple ASCII (EDIT: utf8). If you need help with finding and uncompressing zlib streams, there is a python script by PeterT somewhere in this forum (maybe you can find it). You cannot use the script as it is, but it might get you started. Edit: Here is the link to the post containing the python script. For a general description see here. Last edited by tshering; 04-13-2015 at 10:42 AM. |
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
This addresses for Kobo Glo?
Thanks a lot. Last edited by AxaRu; 04-07-2015 at 06:37 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
This first approx of python code
![]() Spoiler:
There is a bug, but the result is very interesting. http://pastebin.ru/sgat12V0 Last edited by AxaRu; 04-07-2015 at 10:19 PM. |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
Yes, thanks
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
AxaRu,
I do not understand anything (I am not computer programmer), but I'm very interested in how to translate the interface. I want my aura H2O in catalan I will be grateful if reports its progress and if you get it, help to me. thanks |
![]() |
![]() |
![]() |
#11 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
Simply change strings from one language to another, then zipping block an replace in nickel.
|
![]() |
![]() |
![]() |
#12 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
|
![]() |
![]() |
![]() |
#13 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
Sure, but I'm still just at the beginning
|
![]() |
![]() |
![]() |
#14 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
|
![]() |
![]() |
![]() |
#15 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
|
Second approach
![]() Spoiler:
Spoiler:
Last edited by AxaRu; 04-08-2015 at 06:17 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T3 Update firmware,to change interface LANGUAGE | sbwtxj | Sony Reader | 51 | 05-26-2015 04:56 PM |
Hanvon C18: how do you set the interface language? | Heba | More E-Book Readers | 1 | 05-18-2014 05:26 AM |
User Interface Language - Preference item missing! | jjenkov | Sigil | 5 | 07-06-2012 07:27 AM |
Interface language | Obywatelpw | Calibre | 7 | 05-20-2012 08:48 AM |
MR interface language changed | kovidgoyal | Feedback | 7 | 10-07-2011 10:39 PM |