OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Component just works with redirect (0 viewing) 

Joomla Translate component support

Go to bottom Favoured: 0

Component just works with redirect

tulio (Visitor)
Posts: 0
graphgraph
User Offline
Component just works with redirect 12 Years, 3 Months ago
Karma: 0  
Hi there,

The component was working well, now it doesn't works with jquery, also the flags don't have the link option, they are present but doesn't works as click button.

Any idea how to solve this issue?

Thanks,

Tulio
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Component just works with redirect 12 Years, 3 Months ago
Karma: 101  
Hello Tulio,

You may show that on seld site ?
Best of all if you give admin access to site.

Yours site account details you may send wioth help ordasoft support form

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
transact (Visitor)
Posts: 0
graphgraph
User Offline
Re:Component just works with redirect 12 Years, 3 Months ago
Karma: 0  
Hello OrdaSoft team,

I just activated my google translate API V2 billing account,added my API key to the sef_translate component and switched sef_translate component to gtranslate, using jquery on the sef_tranlate module. Like tulio, I no longer get translation unless I switch to redirect. We cannot use redirect because the generated code affects some of our components.

The error I see in Firebug when using jquery is
"NetworkError: 414 Request-URI Too Large - www.googleapis.com/language/translate/v2......+Wholesale+Prices!%3C%2Fdiv%3E%3Cdiv%3ESelect+language%3C%2Fdiv%3E%3Cdiv%3EEnglish%3C%2Fdiv%3E%3Cdiv%3ESpanish%3C%2Fdiv%3E%3Cdiv%3Efacebook%3C%2Fdiv%3E%3Cdiv%3Etwitter%3C%2Fdiv%3E%3Cdiv%3Eyoutubelogo%3C%2Fdiv%3E%3Cdiv%3Elinkedin+logo%3C%2Fdiv%3E%3Cdiv%3Egoogle+%2B%3C%2Fdiv%3E%3Cdiv%3Erss%3C%2Fdiv%3E%3Cdiv%3ESEARCH+WEBSITE%3C%2Fdiv%3E%3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3EHome%3C%2Fdiv%3E%3Cdiv%3EProfessionals%3C%2Fdiv%3E%3Cdiv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3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3ELumber%3C%2Fdiv%3E%3Cdiv%3EWindows%3C%2Fdiv%3E%3Cdiv%3EDoors%2FHardware%3C%2Fdiv%3E%3Cdiv%3ETrim%2FMouldings%3C%2Fdiv%3E%3Cdiv%3EPlumbing%3C%2Fdiv%3E%3Cdiv%3ERoofing%3C%2Fdiv%3E%3Cdiv%3EInsulation%3C%2Fdiv%3E%3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3EInstallation+Services%3C%2Fdiv%3E%3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3ECarpentry%2FTrim%3C%2Fdiv%3E%3Cdiv%3EPest+Control%3C%2Fdiv%3E%3Cdiv%3EConcrete%3C%2Fdiv%3E%3Cdiv%3EPlumbing%3C%2Fdiv%3E%3Cdiv%3EWindows%3C%2Fdiv%3E%3Cdiv%3EVehicle+Services%3C%2Fdiv%3E%3Cdiv%3EHome+Warranty%3C%2Fdiv%3E%3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3EShowcase%3C%2Fdiv%3E%3Cdiv%3E+%3C%2Fdiv%3E%3Cdiv%3ECommercial%3C%2Fdiv%3E%3Cdiv%3EConcrete%3C%2Fdiv%3E%3Cdiv%3EDetail+Work%3C%2Fdiv%3E%3Cdiv%3EDoors%2FTrim%3C%2Fdiv%3E%3Cdiv%3EFraming%3C%2Fdiv%3E%3Cdiv%3ELumber%3C%2Fdiv%3E%3Cdiv%3EPest+Control%3C%2Fdiv%3E%3Cdiv%3EPlumbing%3C%2Fdiv%3E%3Cdiv%3ERemodeling%3C%2Fdiv%3E%3Cdiv%3EResidential%3C%2Fdiv%3E%3Cdiv%3ESiding%2FDecking%3C%2Fdiv%3E&source=en&_=1323365395968"

Any ideas?

Terry
Logged Logged
The administrator has disabled public write access.
transact (Visitor)
Posts: 0
graphgraph
User Offline
Re:Component just works with redirect 12 Years, 3 Months ago
Karma: 0  
Hi OrdaSoft Team,

I was doing some research with google - see this page

http://code.google.com/apis/language/t...tml#WorkingResults


It says:
You can translate text from one language to another language by sending an HTTP GET request to its URI. The URI for a request has the following format:
www.googleapis.com/language/translate/v2?parameters
Three query parameters are required with each translation request:
- API key. Use the key query parameter to identify your application.
- Target language. Use the target query parameter to specify the language you want to translate into.
- Source text string. Use the q query parameter to identify the string to translate.

All other query parameters are optional. The URL for the GET, including parameters, must be less than 2K characters.
Note: You can also use POST to invoke the API if you want to send more data in a single request. The q parameter in the POST body must be less than 5K characters.
To use POST, you must use the X-HTTP-Method-Override header to tell the Translate API to treat the request as a GET (use X-HTTP-Method-Override: GET).

Is this helpful?
Terry
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Component just works with redirect 12 Years, 3 Months ago
Karma: 101  
Hello Terry,

Please go to sef translate module, to file
{yours site}/modules/mod_seftranslate/js/jquery.translate.js

in it find row:
Code:

limit: 1750,


and replce it to
Code:

limit: 1550,


or yet less, for me for all my testing 1750 - work good


Than limit more big - than better, than more speed yours site translated.

But we can't set it exactly as 2000, because row yet do url encoding, so number signs grow.

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
transact (Visitor)
Posts: 0
graphgraph
User Offline
Re:Component just works with redirect 12 Years, 3 Months ago
Karma: 0  
Hi,

I tried a couple of different settings. It finally worked when I set the limit to 1250. Can you explain what this limit is for? I just want to be sure this is a good setting that will work on all pages.

Thanks for you help!
Terry
Logged Logged
The administrator has disabled public write access.
Go to top
»