Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Marvin

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2013, 03:14 PM   #16
kguil
Addict
kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.
 
kguil's Avatar
 
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
@mesue - this works for me:

Code:
http://translate.google.com/m?sl=auto&tl=it&hl=en&q={text}
(it's translating from auto to Italian)
kguil is offline   Reply With Quote
Old 10-02-2013, 06:51 PM   #17
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
Lightbulb

That's just a variation of the code I gave earlier. This part:

Code:
/m?
requests for the mobile site to be displayed, but Sue is still getting the regular site instead.

Please note that if you use {text} instead of {define}, the translated word will not be entered into your Vocabulary list in Marvin, but you probably want to have it there, so I recommend using {define}.
Faterson is offline   Reply With Quote
Advert
Old 10-02-2013, 07:31 PM   #18
kguil
Addict
kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.
 
kguil's Avatar
 
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
I tested the URL I provided on both my iPad and iPhone. In all cases it brought up the mobile site. It could be that the extra query parameters in the first version are causing Google to send the full version.
kguil is offline   Reply With Quote
Old 10-02-2013, 08:09 PM   #19
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
Lightbulb

Quote:
Originally Posted by kguil View Post
I tested the URL I provided on both my iPad and iPhone. In all cases it brought up the mobile site.
Yes, same here, for both your and my code. Still, Sue was getting different results.

Quote:
Originally Posted by kguil View Post
It could be that the extra query parameters in the first version are causing Google to send the full version.
There are only 2 extra parameters in the earlier code version compared to the later one:

Code:
&ie=UTF-8
This is about the webpage's encoding and seems auto-inserted whenever you search for a word that contains a diacritic letter. It can't possibly have anything to do with the mobile vs. regular site version -- or if it does, it's a severe Google bug.

Code:
&prev=_m
I was unable to determine what this particular search parameter means. "Prev" as in "previous [search page]"? Or is it Preview? In any case, it contains an m, too, which I optimistically interpreted as referring to "mobile" as well, just like the first m.

If simply removing the &prev=_m parameter (and/or the UTF-8 parameter) will make the code work for Sue suddenly, I'll be ecstatic.
Faterson is offline   Reply With Quote
Old 10-02-2013, 11:51 PM   #20
MeSue
Geek in the Forest
MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.
 
MeSue's Avatar
 
Posts: 399
Karma: 1077186
Join Date: Nov 2012
Location: FL
Device: iPad Air, iPhone 4s, Nexus 7
Quote:
Originally Posted by kguil View Post
@mesue - this works for me:

Code:
http://translate.google.com/m?sl=auto&tl=it&hl=en&q={text}
(it's translating from auto to Italian)
So, this does bring up a mobile version, but, in typical Google fashion, it sucks as a mobile version. I have to zoom in just to read it, and if it is more than a few words, I have to scroll side to side.
Click image for larger version

Name:	ImageUploadedByTapatalk1380772221.475439.jpg
Views:	372
Size:	138.8 KB
ID:	112673

Is this what your mobile version looks like? I can't remember what the desktop site looked like now, but it had to be better than this!

Last edited by MeSue; 10-02-2013 at 11:53 PM.
MeSue is offline   Reply With Quote
Advert
Old 10-03-2013, 12:01 AM   #21
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
Yeah, that's the mobile version alright. (The versions selector at the bottom confirms it.)

I don't mind the small font myself -- but then, I don't typically use Google Translate for translations, which are mostly pseudo-translations, anyway, typically way off the mark. I prefer to use professional dictionaries in the Lingvo app instead. Of course, those only translate words, not sentences.
Faterson is offline   Reply With Quote
Old 10-03-2013, 12:46 AM   #22
kguil
Addict
kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.
 
kguil's Avatar
 
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
Yes. I see the same thing. I'm afraid that's just what Google's mobile version looks like.
kguil is offline   Reply With Quote
Old 10-03-2013, 08:02 AM   #23
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Further trials as this is getting weirder by the minute


ok, here's what I did, I tried both Firefox on my Desktop and Safari on the iPhone and just went to the base address without specifying a translation query

1. Firefox using
Code:
http://translate.google.com/m?

-----------------------------------
2. Firefox using
Code:
http://translate.google.com/?
without the m

-----------------------------------
3. Safari using
Code:
http://translate.google.com/m?

-----------------------------------
4. Safari using
Code:
http://translate.google.com/?
again without the m

-----------------------------------
So for me the presence of the m before the question mark clearly directs me to the 'light' version and leaving off the m redirects me to the 'iPhone' version.

Also, when trying out actual translation queries I get to see the 'light version when using
Code:
http://translate.google.com/m?sl=auto&tl=en&q=gecompliceerd
on both browser platforms
-----------------------------------
and when using this one
Code:
http://translate.google.com/?sl=auto&tl=en&q=gecompliceerd
on both browser platforms, I get to see the 'iPhone' version again (on a desktop browser this will most likely produce the full version page)

Last edited by At_Libitum; 10-03-2013 at 08:14 AM.
At_Libitum is offline   Reply With Quote
Old 10-03-2013, 08:19 AM   #24
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
Like I said, chaos and inconsistency has been my standard experience with Google. Please note that what site version you get to see may also depend on the particular cookies cached in your particular browser at any particular time, your logged-in or logged-out status, etc.

In other words: using the same trigger code in Marvin is likely to produce different results for various users on Google's pages (not just the "Translate" service).
Faterson is offline   Reply With Quote
Old 10-03-2013, 04:52 PM   #25
slayda
Retired & reading more!
slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.slayda ought to be getting tired of karma fortunes by now.
 
slayda's Avatar
 
Posts: 2,764
Karma: 1884247
Join Date: Sep 2006
Location: North Alabama, USA
Device: Kindle 1, iPad Air 2, iPhone 6S+, Kobo Aura One
Quote:
Code:
http://translate.google.com/m?hl=en&sl=auto&tl=en&ie=UTF-8&prev=_m&q={define}
This one worked for me too.
slayda is offline   Reply With Quote
Old 10-03-2013, 07:44 PM   #26
MeSue
Geek in the Forest
MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.MeSue ought to be getting tired of karma fortunes by now.
 
MeSue's Avatar
 
Posts: 399
Karma: 1077186
Join Date: Nov 2012
Location: FL
Device: iPad Air, iPhone 4s, Nexus 7
And this is why I wish I could get the app to work. I can get it to launch but not fill in the selection. Of course I can just paste it in, so that is what I might end up doing for the iPhone. It's not like I need translations that often.
MeSue is offline   Reply With Quote
Old 10-03-2013, 08:02 PM   #27
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
Quote:
Originally Posted by MeSue View Post
And this is why I wish I could get the app to work. I can get it to launch but not fill in the selection.

Yeah... you get stuck there in the same place as Slayda with his preferred Merriam-Webster app.

I wish there was a way to request these URL schemes from app developers. Slayda basically got told off by Merriam-Webster app support, "No URL scheme for ya, we still love ya, bye!" Google, as a rule, does not even make it possible for their users to get in touch with them.

For Lingvo, Kris more or less "guessed" their URL scheme based on dissecting the plist file, but he also wrote to Lingvo developers directly. ABBYY ignored him for many months, but they eventually published the URL scheme on their webpages. Perhaps Merriam-Webster and Google will also come to their senses one day.

I have found Google's enterprise support (for Google Apps) to be excellent, even over-anxious. When I submit a support ticket through that channel, on no matter how trivial an issue, they give me a return phone call within an hour or two, even though an email reply would actually have been perfectly enough. (You don't always have time for a phone call.) Unfortunately, Google Translate is not considered a "core app" within Google Apps, so I can't submit a query related to Google Translate to Google's enterprise support -- and I'm afraid no other efficient support channel from Google is available.
Faterson is offline   Reply With Quote
Old 10-04-2013, 02:32 AM   #28
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
I have just visited the terse support webpage for Google Translate:

https://support.google.com/translate/?hl=en

and used the general Help site feedback form at the bottom of the page to let them know we were searching for the URL scheme to launch the Google Translate app in iOS.

The response I got upon pushing the Submit button was:

Quote:
Thanks for contacting us. We'll follow up with you only if we need more information or have additional information to share.
To me, that sounds like, "Don't call us, we'll call you." Or in other words, we're unlikely to hear back from them on that issue. But, miracles happen from time to time.
Faterson is offline   Reply With Quote
Old 10-04-2013, 08:00 AM   #29
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
I wouldn't hold my breath, it's most likely a strategy to force you from iOS to Android
At_Libitum is offline   Reply With Quote
Old 10-04-2013, 08:16 AM   #30
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
Red face

Quote:
Originally Posted by At_Libitum View Post
I wouldn't hold my breath, it's most likely a strategy to force you from iOS to Android

... or as a Slovak proverb has it, "from the puddle to the mudhole".
Faterson is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[HACK] Google Translate on Ebook search menu lowpis Kindle Developer's Corner 19 02-24-2021 09:19 AM
Would anyone know Slovoed's URL Scheme Heitor Marvin 3 09-25-2013 01:16 AM
Google Translate: Will this new function kill foreign rights? L.J. Sellers News 26 06-01-2011 09:36 PM
feature wishlist (via google translate) 90x, 60x review PocketBook 0 01-22-2011 05:59 PM


All times are GMT -4. The time now is 03:42 AM.


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