Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2011, 02:24 PM   #2491
sengian
Zealot
sengian doesn't littersengian doesn't litter
 
sengian's Avatar
 
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
Could it be possible to have an English text for all strings because it is a little bit difficult without?
sengian is offline   Reply With Quote
Old 09-12-2011, 02:35 PM   #2492
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by sengian View Post
Could it be possible to have an English text for all strings because it is a little bit difficult without?
Yes I'll fix it. Knowing exactly when did that stop working would help.
kartu is offline   Reply With Quote
Advert
Old 09-12-2011, 02:49 PM   #2493
MiK77
Enthusiast
MiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enough
 
Posts: 49
Karma: 638
Join Date: Mar 2011
Device: Sony PRS 650
Quote:
Originally Posted by Mark Nord View Post
der Einfachheit halber auf Deutsch:
RESULTS_SIZE: Schrift-Größe (FontSize) die im Ausgabefenster der Dictionary-Anwendung für 300/505 verwendet wird.

MAX_SMART_ZOOM: wenn die Zeilenlänge des Ergebniss die mögliche Zeilenlänge mit RESULTS_SIZE überschreitet wird die Schriftgröße automatisch bis auf MAX_SMART_ZOOM (in Prozent) verkleinert, um möglichst allen Text im Ausgabefenster darstellen zu können
Ich habe bei der Übesetzung jetzt mal etwas eingetragen. Aber vielleicht schaust Du an dieser Stelle besser selbst noch mal drüber.
MiK77 is offline   Reply With Quote
Old 09-12-2011, 04:11 PM   #2494
sengian
Zealot
sengian doesn't littersengian doesn't litter
 
sengian's Avatar
 
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
Quote:
Originally Posted by kartu View Post
Yes I'll fix it. Knowing exactly when did that stop working would help.
If this is a question, I have no idea as I don't personally use the new functions to be honest. Sorry.
sengian is offline   Reply With Quote
Old 09-12-2011, 04:45 PM   #2495
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
sengian,

excuse me, but what are you asking for?

Englisch strings for all options in the lang.ods - spreadsheet on google-docs
or
to have English strings displayed on your Reader in case that translated ones are missing? (You should get the englisch option-names, btw)

It's the latter what kartu is refering to.
Mark Nord is offline   Reply With Quote
Advert
Old 09-12-2011, 05:04 PM   #2496
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by surquizu View Post
Hi, Kartu.

Here I uploaded the files for translation prs+ x50 to catalan for inclusion into the next version if is possible.

translated by jonsy

thanks
surquizu,

I took those files, but have in mind that they cover only 350/650, since 950 has a bit different assets.xml.
kartu is offline   Reply With Quote
Old 09-12-2011, 05:08 PM   #2497
sengian
Zealot
sengian doesn't littersengian doesn't litter
 
sengian's Avatar
 
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
Quote:
Originally Posted by Mark Nord View Post
sengian,

excuse me, but what are you asking for?

Englisch strings for all options in the lang.ods - spreadsheet on google-docs
or
to have English strings displayed on your Reader in case that translated ones are missing? (You should get the englisch option-names, btw)

It's the latter what kartu is refering to.
The two options would be nice but I was referring to the first as I was talking about translation. However, I really would appreciate if someone was able to explain why simply overwriting lang.ods or modifying it results in major failure of the translation in the build ie mainly English option-names (and it was not the problem of structure modification as I modified the correct file).
Very annoying.
sengian is offline   Reply With Quote
Old 09-12-2011, 05:16 PM   #2498
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 kartu View Post
surquizu,

I took those files, but have in mind that they cover only 350/650, since 950 has a bit different assets.xml.
Ok. In the spanish forum nobody asked me for 950 in catalan , but yes for 650.

Thanks
surquizu is offline   Reply With Quote
Old 09-12-2011, 05:23 PM   #2499
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Thanks, surquizu.

Quote:
Originally Posted by sengian View Post
The two options would be nice but I was referring to the first as I was talking about translation. However, I really would appreciate if someone was able to explain why simply overwriting lang.ods or modifying it results in major failure of the translation in the build ie mainly English option-names (and it was not the problem of structure modification as I modified the correct file).
Very annoying.
What do you mean by "ovewriting"? It is supposed to be always edited in place in a web browser.
kartu is offline   Reply With Quote
Old 09-12-2011, 05:36 PM   #2500
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 sengian View Post
The two options would be nice but I was referring to the first as I was talking about translation. However, I really would appreciate if someone was able to explain why simply overwriting lang.ods or modifying it results in major failure of the translation in the build ie mainly English option-names (and it was not the problem of structure modification as I modified the correct file).
Very annoying.
My English is very bad, sorry if I do not understand and I do not answer your question.
To properly translate the variables RESULTS_SIZE and MAX_SMART_ZOOM is necessary to change the code of file DictionaryCL.js.

Original code:
Code:
{
                            name: "resultSize",
                                title: 'Results size',  //@@@
                                icon: "ABC",
                                defaultValue: 25,
                                values: [15, 20, 25, 30, 35],
                                valueTitles: {
                                        15: '15', 20: '20', 25: '25', 30: '30', 35: '35'
                                }
                        },
                        {
                            name: "maxSmartZoom",
                                title: 'Max smart zoom',  //@@@
                                icon: "ABC",
                                defaultValue: 20,
                                values: [0, 10, 20, 25, 40, 50],
                                valueTitles: {
                                    0: 'Disabled', 10: '10 %', 20: '20 %', 25: '25 %', 40: '40 %', 50: '50 %'   //@@@
                                }
Code with translation:
Code:
{
			    name: "resultSize",
				title: L("RESULTS_SIZE"),  
				icon: "TEXT_SCALE", 
				defaultValue: 25,
				values: [15, 20, 25, 30, 35],
				valueTitles: {
					15: '15', 20: '20', 25: '25', 30: '30', 35: '35'
				}
			},
			{
			    name: "maxSmartZoom",
				title: L("MAX_SMART_ZOOM"),  
				icon: "TEXT_SCALE", 
				defaultValue: 20,
				values: [0, 10, 20, 25, 40, 50],
				valueTitles: {
				    0: 'Disabled', 10: '10 %', 20: '20 %', 25: '25 %', 40: '40 %', 50: '50 %'   //@@@
				}
surquizu is offline   Reply With Quote
Old 09-12-2011, 05:37 PM   #2501
sengian
Zealot
sengian doesn't littersengian doesn't litter
 
sengian's Avatar
 
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
Quote:
Originally Posted by kartu View Post
Thanks, surquizu.



What do you mean by "ovewriting"? It is supposed to be always edited in place in a web browser.
I totally agree, but to test it and the translation in a build ie in order to have a better idea of what I translate and if using it the translation is correct and fitting, I tried to overwrite/modify lang.ods starting from either the GApps version or using OpenOffice. Either solution leads to a build which totally mess the translation ie as I said before mainly English option-names.
I tried it this WE however, maybe some changes happened since.

Last edited by sengian; 09-12-2011 at 05:40 PM.
sengian is offline   Reply With Quote
Old 09-12-2011, 06:39 PM   #2502
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Lightbulb

Mark: Good work on fixing the standby image issue!

sengian: There was an error in the lang.ods file until some days ago. Kartu corrected it, so the problem might disappear if you download the latest version.


On another note: Home Menu Booklist customization for x50 models has just been pushed to the main repository. I would greatly appreciate any feedback! (read: beta testing )

The addon can currently change the booklist to:
  • Display the last 3 opened books (before current book);
  • Display random books from the same author as the current book;
  • Display the next book(s) in the collection of the current book (useful for series).
There is a fallback to the default setting, i.e. last added books, if the selected option has no results. It also has a key-bindable action that cycles through the setting. So while in the home menu, you can switch from booklist view 1 to booklist view 2, to 3 etc. with a single key.

If anyone has any wishes for changes or additions to this feature, feel free to post them and I'll see what I can do
quisvir is offline   Reply With Quote
Old 09-12-2011, 06:44 PM   #2503
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I'll try it tomorrow, you can be sure but I have a question: if a book is in two collections, is there any problem?
Terisa de morgan is offline   Reply With Quote
Old 09-12-2011, 06:46 PM   #2504
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Quote:
Originally Posted by Terisa de morgan View Post
I'll try it tomorrow, you can be sure but I have a question: if a book is in two collections, is there any problem?
It won't cause problems; the addon will just use the first collection it finds the current book in.
quisvir is offline   Reply With Quote
Old 09-12-2011, 06:52 PM   #2505
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Quote:
Originally Posted by surquizu View Post
My English is very bad, sorry if I do not understand and I do not answer your question.
To properly translate the variables RESULTS_SIZE and MAX_SMART_ZOOM is necessary to change the code of file DictionaryCL.js.
I have updated DictionaryCL.js to localize those strings, as well as the default string. Assuming I'm not messing up kartu's plans for the addon, the strings will now behave as expected.
quisvir is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 12:51 PM.


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