Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2015, 06:33 PM   #46
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
also error

I have attached two possible solutions in post # 44, one eliminating the small font size and other changing the encoding to UTF-8-BOM as it is the one test that had worked well. The file whith error has a coding "system". I don't see more diferences (only the last addeded of large text strings and texts strings with double translation).
surquizu is offline   Reply With Quote
Old 04-18-2015, 02:12 PM   #47
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 surquizu View Post
also error

I have attached two possible solutions in post # 44, one eliminating the small font size and other changing the encoding to UTF-8-BOM as it is the one test that had worked well. The file whith error has a coding "system". I don't see more diferences (only the last addeded of large text strings and texts strings with double translation).
I have to remove the BOM anyway, so that does not make a difference. As for your trial to eliminate the small font size, this seems not to work as expected (I upload the patch nonetheless), see the attached screen_20150417b.png. The main problem (seen in the picture of post #41) seems to me to be the fact that html tags are interpreted as normal text. This explains also why the font size (set in the span tag) is not respected. Why the html tags are not treated as such in this position, I do not understand. I tried something different. That seems to work on Touch (screen_20150417c.png), maybe it is working on your reader too. If you see again html code, could you please remove all other patches (like the Bad eyes patch) so that we can narrow down the possibilities?

Please take over all changes of post #40 into your xlsx file. Watch out for "\ n" (2 cases), and replace them by "\n".
Attached Thumbnails
Click image for larger version

Name:	screen_20150417b.png
Views:	282
Size:	56.3 KB
ID:	137395   Click image for larger version

Name:	screen_20150417b_en.png
Views:	293
Size:	57.2 KB
ID:	137396   Click image for larger version

Name:	screen_20150417c.png
Views:	260
Size:	56.3 KB
ID:	137397   Click image for larger version

Name:	screen_20150417c_en.png
Views:	295
Size:	57.1 KB
ID:	137398  
Attached Files
File Type: zip KBPatcher12_3.13.1translate_es_ct_20150417bc.zip (1.29 MB, 232 views)

Last edited by tshering; 04-18-2015 at 04:46 PM.
tshering is offline   Reply With Quote
Old 04-19-2015, 07:23 PM   #48
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by tshering View Post
That seems to work on Touch (screen_20150417c.png), maybe it is working on your reader too.
The modification you've done works well. It looks perfect and it has the word "Llegit" that I could not put. Fantastic.

thank you very much.

Quote:
Please take over all changes of post #40 into your xlsx file. Watch out for "\ n" (2 cases), and replace them by "\n".
My apologies.
Attached Thumbnails
Click image for larger version

Name:	screen_024.png
Views:	294
Size:	285.7 KB
ID:	137453  
surquizu is offline   Reply With Quote
Old 04-20-2015, 03:40 AM   #49
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 surquizu View Post
The modification you've done works well.
I am glad it turned out that way.
tshering is offline   Reply With Quote
Old 04-20-2015, 05:22 AM   #50
mietek81
Connoisseur
mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!
 
Posts: 83
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
Ok, so what should I do, where should I begin to start translating interface into polish?
mietek81 is offline   Reply With Quote
Old 04-20-2015, 07:58 AM   #51
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 mietek81 View Post
Ok, so what should I do, where should I begin to start translating interface into polish?
Are all characters of the Polish alphabet supported by the system fonts? If some are not, you might reconsider whether to start the translation project.
If you would like to start, please decide which of the supported languages you would like to replace. Considering the average word length of the languages, German might be convenient. I upload the German translation strings. If you would like to overwrite another language, please tell me.
The uploaded archive contains two text files, one for invariable expressions, and one for expressions that differ according to singular and plural, cf. posts #17 and #37 for the format. In each case the Polish translation must not consist of more characters than the German does.
Attached Files
File Type: zip transl_de.zip (46.2 KB, 291 views)

Last edited by tshering; 04-20-2015 at 09:48 AM.
tshering is offline   Reply With Quote
Old 04-22-2015, 03:24 AM   #52
mietek81
Connoisseur
mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!
 
Posts: 83
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
Yes, I think that all diacritics are now supported. In some very old firmware they were not displaying in books synopsis but now they are, so I suppose it is ok.
Yes, German can be lost in translation

Can I switch parts of translation strings like this
from
Code:
AddToShelfWidget{ref}%n BOOK(S){tr}%n BUCH{tr2}%n BÜCHER
to
Code:
AddToShelfWidget{ref}%n BOOK(S){tr}%n TOM{tr2}TOMÓW: %n
or completly skip the %n parts or replace it with number 1 where applicable? Or maybe the %n is not for number?

Damn.. Polish word for Book/Buch (Książka) is way to long. Many polish words are longer then german. This is going to be hard and take a lot of time..

Ok, so there is first major problem. English "yes" is German "Ja" and Polish "Tak". I could use "OK" but that might not be looking good in all places. Maybe I should use another language instead of German? Which language has "yes" with at least 3 letters?

Last edited by mietek81; 04-24-2015 at 11:45 AM.
mietek81 is offline   Reply With Quote
Old 04-27-2015, 06:13 AM   #53
scoky
Connoisseur
scoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy blue
 
Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
Quote:
Originally Posted by tshering View Post
Are all characters of the....... does.
Hi tshering, could you tell me how to generate zlib file to patch nickel? I just want to have a try to make a Chinese language translation.
Thanks.
scoky is offline   Reply With Quote
Old 04-27-2015, 09:58 AM   #54
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
mietek81,
I just noticed by chance that you added something to your old post!

Quote:
Originally Posted by mietek81 View Post
Can I switch parts of translation strings like this
from
Code:
AddToShelfWidget{ref}%n BOOK(S){tr}%n BUCH{tr2}%n BÜCHER
to
Code:
AddToShelfWidget{ref}%n BOOK(S){tr}%n TOM{tr2}TOMÓW: %n
or completly skip the %n parts or replace it with number 1 where applicable? Or maybe the %n is not for number?
You can change the position of %n as you like.

Quote:
Originally Posted by mietek81 View Post
Damn.. Polish word for Book/Buch (Książka) is way to long. Many polish words are longer then german. This is going to be hard and take a lot of time..
The size limit is a big problem with this approach.

Quote:
Originally Posted by mietek81 View Post
Ok, so there is first major problem. English "yes" is German "Ja" and Polish "Tak". I could use "OK" but that might not be looking good in all places. Maybe I should use another language instead of German? Which language has "yes" with at least 3 letters?
English, French, ... I upload the files for all supported languages. Maybe you can find one that fits somehow.
Attached Files
File Type: zip transL_input_3131.zip (397.1 KB, 193 views)

Last edited by tshering; 04-27-2015 at 10:00 AM.
tshering is offline   Reply With Quote
Old 04-27-2015, 10:01 AM   #55
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 scoky View Post
Hi tshering, could you tell me how to generate zlib file to patch nickel?
Generally speaking, one has to (1) extract the zlib stream from nickel, (2) decompress its content, (3) replace the translation strings by your own, (4) compress it, and (5) re-insert it into nickel.
Describing the details however is a little difficult for me. If I find time, I will try to publish a tool that will assist you in the steps 1 to 4.

Quote:
Originally Posted by scoky View Post
I just want to have a try to make a Chinese language translation.
For now, I can only offer that you upload (or PM) your sample translation file and I provide you with the zlib file.
tshering is offline   Reply With Quote
Old 04-28-2015, 05:18 AM   #56
mietek81
Connoisseur
mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!
 
Posts: 83
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
Ok, Kobo just released 3.15 version of firmware. So I guess that something might have changed and strings extracted from older firmware can be different?
mietek81 is offline   Reply With Quote
Old 04-28-2015, 06:19 AM   #57
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 mietek81 View Post
Ok, Kobo just released 3.15 version of firmware. So I guess that something might have changed and strings extracted from older firmware can be different?
This is true. Some strings have disappeared, others have been slightly changed. Did you already settle for a language?
tshering is offline   Reply With Quote
Old 04-28-2015, 07:08 AM   #58
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
surquizu,

I guess this was an unfortunate time to start the translation project. There changed a lot in FW 3.15.0. I upload the files containing the differences between 3.13.1 and 3.15.0.
Attached Files
File Type: zip transl_es_diff_3131_3150.zip (13.3 KB, 162 views)
tshering is offline   Reply With Quote
Old 04-28-2015, 08:21 PM   #59
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by tshering View Post
surquizu,

I guess this was an unfortunate time to start the translation project. There changed a lot in FW 3.15.0. I upload the files containing the differences between 3.13.1 and 3.15.0.
Thank you. I'll update the translation for the 3.15
surquizu is offline   Reply With Quote
Old 05-01-2015, 08:39 PM   #60
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by tshering View Post
surquizu,

I guess this was an unfortunate time to start the translation project. There changed a lot in FW 3.15.0. I upload the files containing the differences between 3.13.1 and 3.15.0.
Hi Tshering,

Attached the file with the translation of text strings of firmware 3.15.0. And also I have prepared a test file to locate errors of context in translation.

thanks
Attached Files
File Type: txt traslate_catalan_3150_20150502.txt (197.8 KB, 242 views)
File Type: txt traslate_test_numbers_3150_20150502.txt (135.2 KB, 263 views)
surquizu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:04 AM.


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