Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-17-2008, 04:07 PM   #1
zemj
Junior Member
zemj began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2008
Device: 2 PRS-505,some PDAs
Question How to localize PRS-505?

Am I able to localize menu of PRS-505?
Because of super "hack" (hack3) from this forum I can make Czech e-books with diacritics readable with no problems (SUPEEER) ... now ... I want to localize menu ...
Thanks for help...how to do it?

Last edited by zemj; 07-21-2008 at 11:53 AM.
zemj is offline   Reply With Quote
Old 07-22-2008, 11:26 AM   #2
igorsk
Wizard
igorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfolded
 
Posts: 3,443
Karma: 52235
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
It's possible but is rather complicated. I plan to do some postings on Sony internals which will include details on replacing strings but since it's quite risky so I would like to wait until we have an official firmware update for unbricking if necessary.
igorsk is offline   Reply With Quote
 
Enthusiast
Old 07-22-2008, 05:04 PM   #3
lovebeta
Groupie
lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.
 
Posts: 176
Karma: 406
Join Date: Jan 2008
Device: Amazon Kindle 2, Amazon Kindle, Sony PRS-505
Yes, there's one hack that does not need flashing your rom. You have to apply the hack everytime you reboot your reader though. But it is much safer since the official rom is yet to come.
lovebeta is offline   Reply With Quote
Old 07-26-2008, 08:23 AM   #4
zemj
Junior Member
zemj began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2008
Device: 2 PRS-505,some PDAs
Because of original firmware is here --> I tried to look at "Russified" version od PRS-505. All of important strings are in /opt/.../kbook.so . The russified version is little complicate, because there is an custom FONT, where in custom chars ($E000...) are 1 font char = "1 complete menu line" ... that is no problem, but how it is connected by unicode???
For example:
(original firmware)
Books by Title is in
hex: 42 6F 6F 6B 73 20 62 79 20 54 69 74 6C 65
_____B_o__o__k_s__-__b_y__-__t__i__t__l__e
in "Russified" version it is rewritted to:
hex: EE 80 82 EE 80 80 F4 8E 80 80 F4 8E 80 80
and char in font for this menu is $E002 ... in FontCreator
(idea: EE 80 82 is somehow equal to $E002
EE 80 80 and F4 8E 80 80 are both spaces???)

Am I using right tool to edit ... or ...??? I dont know how to code unicode font chars in kbook.so ... anyone can help me?

P.S.: What is the default editor for making font files for PRS-505?

Last edited by zemj; 07-26-2008 at 08:41 AM.
zemj is offline   Reply With Quote
Old 07-27-2008, 12:19 AM   #5
porkupan
Fanatic
porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.
 
porkupan's Avatar
 
Posts: 554
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
zemj, you are on the right track. In fact, if your goal is to localize the Reader to Czech, or Chinese, or Esperanto, or any other language, you can look at the solution the Kiev hackers came up with, and make your own localization.

The reason for it is that the hackers made each menu string essentially a single character Unicode string consisting of one special Unicode character. These special characters are normally not printable, so you can make any font "character" correspond to them. The newly created font "characters" are composite symbols making up entire strings. So, all you need to do is make your own special font, and you are all set.

I thought that to be a rather amazing solution, as it didn't require relocating and overwriting the strings, editing ARM binaries, or any such ugly stuff.

You are correct, the Unicode for EE 80 82 ends up E002 - read some Wikipeadia articles about UTF-8 string encoding. The first bits of the "characters" tell the length of the character in bytes:

1110xxxx 10yyyyyy 10zzzzzz is interpreted as xxxxyyyy yyzzzzzz

The negative here is that every new FW release will probably require re-editing kbook.so (and some XML files), which is a bit of a pain.
porkupan is offline   Reply With Quote
Old 07-27-2008, 12:58 AM   #6
zemj
Junior Member
zemj began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2008
Device: 2 PRS-505,some PDAs
Quote:
Originally Posted by porkupan View Post
zemj
You are correct, the Unicode for EE 80 82 ends up E002 - read some Wikipeadia articles about UTF-8 string encoding. The first bits of the "characters" tell the length of the character in bytes:

1110xxxx 10yyyyyy 10zzzzzz is interpreted as xxxxyyyy yyzzzzzz

The negative here is that every new FW release will probably require re-editing kbook.so (and some XML files), which is a bit of a pain.
Thanks a lot !!!
I was blind or something like this
Yes you are right, every new firm you must edit kbook.so (thats why I was trying to find how to localize new firm). But you needent make everytime new fonts ... If you make one unicode translation of kbook.so than you can localize menu just with changing fonts
But also I know ... you will say that it is not good, because of people that want custom font type...
zemj is offline   Reply With Quote
Old 07-28-2008, 12:35 PM   #7
igorsk
Wizard
igorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfolded
 
Posts: 3,443
Karma: 52235
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
See the solution discovered by Chinese guys.
http://www.mobileread.com/forums/sho...0&postcount=29
Doesn't need editing binary files or custom characters in fonts.
igorsk is offline   Reply With Quote
Old 07-28-2008, 04:57 PM   #8
zemj
Junior Member
zemj began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2008
Device: 2 PRS-505,some PDAs
Quote:
Originally Posted by igorsk View Post
See the solution discovered by Chinese guys.
http://www.mobileread.com/forums/sho...0&postcount=29
Doesn't need editing binary files or custom characters in fonts.
... I tried it ... it seems to be very nice and logicaly, but ... I tried to translate it ... all times I made new /opt ... it brick my Reader
Thanks to official updater I can unbrick it ( ) ... I think I would prefer English menu

P.S.: I think it is not new for you, but ... if you extract official flasher (from SONY) ... then edit file PRSVersion.dat (..\eBookUpdater\assets\updaterAssets\)... edit the string "110018040" to for example "110018041".
Now you have all time flasher.(When you not do this ... flasher say that your firm is "Up to date" and you cant Flash). I know maybe it isnt healthy for Reader, but it is better than having a brick.
zemj is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My thoughts, PRS-300, PRS-600, PRS-505, PRS-700, Kindle 2 zacheryjensen Sony Reader 78 12-05-2010 07:33 PM
Buy Sony PRS-500/PRS-505/PRS-600 doctoroop Flea Market 0 01-05-2010 06:51 AM
My biased thoughts on the PRS-300, PRS-600, Kindle, and how I ended up with a 505 nvarsj Sony Reader 8 10-29-2009 07:46 AM
PRS-505 Lost!! Buy 300, 600, Kindle or 505? have a lot LRF/LRX files erikk Which one should I buy? 13 10-01-2009 12:01 PM
PRS-700 and PRS-505 Review and Comparison from a PRS-500 owner geekmeetsworld Sony Reader 5 03-01-2009 03:34 PM


All times are GMT -4. The time now is 01:11 PM.


MobileRead.com is a privately owned, operated and funded community.