#1 2008-10-28 15:53:10

Gocom
Moderator
omega
Real name: Jukka Svahn
From: Finland
Known languages: EN, FI
Website

rah_google_translate

Allows visitors to translate your website to their desired language by using Google Translate, completely JavaScript free and customizable. Developed to get more “suitable” Google translate outfit.

More info and downloads

Last edited by Gocom (2008-10-28 15:53:44)


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

 

#2 2008-11-01 11:14:50

thebombsite
Plugin Author
omega
Real name: Stuart
From: Walsall, England
Known languages: Doh!
Website

Re: rah_google_translate

Very cool Jukka. Installed at The Bombsite. You’ve been hiding all these plug-ins haven’t you? ;)


Stuart – the bombsiteJust Another Theme

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

 

#3 2008-11-01 12:26:52

Gocom
Moderator
omega
Real name: Jukka Svahn
From: Finland
Known languages: EN, FI
Website

Re: rah_google_translate

thebombsite wrote:

You’ve been hiding all these plug-ins haven’t you?

I’ve been bad boy, haven’t I ;) Makes me wanna quote Austin Powers: “Yeah, baby, yeah!” :D

Installed at The Bombsite

Now I know what The Bombsite looks in Dansk :P

Very cool Jukka

My name and cool in a same sentence! Thanky you, Stuart :)


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

 

#4 2008-11-01 12:33:50

thebombsite
Plugin Author
omega
Real name: Stuart
From: Walsall, England
Known languages: Doh!
Website

Re: rah_google_translate

Now I know what The Bombsite looks in Dansk :P

You should see it in Russian. ;)


Stuart – the bombsiteJust Another Theme

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

 

#5 2009-05-25 15:09:01

orson
New Member
alpha

Re: rah_google_translate

Thanks for plugin…
But Im looking for a bit advanced plugin – somethink like Wordpress Global Translator plugin – which is very good from SEO point – translated pages are on your local site and not on google – check the example here: http://www.nothing2hide.net/wp-plugins/wordpress-global-translator-plugin/

Does anybody know about such plugin?

Offline

 

#6 2009-05-25 18:07:12

the_ghost
Plugin Author
omicron
Real name: Victor
From: Minsk, The Republic of Belarus
Known languages: Belorussian, English, Russian, German, Italian, France, Turkish
Website

Re: rah_google_translate

thebombsite wrote:

Now I know what The Bombsite looks in Dansk :P

You should see it in Russian. ;)

_Does anybody here except me knows russian? :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

 

#7 2009-05-26 10:08:44

thebombsite
Plugin Author
omega
Real name: Stuart
From: Walsall, England
Known languages: Doh!
Website

Re: rah_google_translate

I think you may be one of a very small group Victor. :)


Stuart – the bombsiteJust Another Theme

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

 

#8 2010-03-01 14:57:46

whocarez
Member
epsilon
Real name: Andreas
From: Germany
Known languages: ger, some eng, ru and ua
Website

Re: rah_google_translate

Hello,

I have a problem in using the plugin with clean urls.
So it works on the main site and urls like:

/index.php?c=Gesellschaft&s=artikel
/index.php?id=2129

But if I use a clean url like

/impressum
/impressum/?rah_google_language=en&rah_site_language=de&rah_translate_page=%2Fimpressum%2F

then it shows up the side with no change.

And there exists also a problem with very long urls, because the direct call of google_translate doubles the url length and end´s up with a “nice try” message, for example:

http://www.ukraine-nachrichten.de/artikel/europaeisches-parlament-fordert-aberkennung-des-titels-held-der-ukraine-fuer-stepan-bandera?rah_google_language=en&rah_site_language=de&rah_translate_page=%2Fartikel%2Feuropaeisches-parlament-fordert-aberkennung-des-titels-held-der-ukraine-fuer-stepan-bandera

I use clean urls with lighttpd 1.4.26 and the query string fix from sencer http://textpattern.com/weblog/216/lighttpd-and-clean-urls-with-servererror-handler-404, with textpattern 4.2.0

IMHO could a solution be to retransform clean urls in their messy equivalent before passing it over to google_translate.

Offline

 

#9 2010-03-01 15:38:59

Gocom
Moderator
omega
Real name: Jukka Svahn
From: Finland
Known languages: EN, FI
Website

Re: rah_google_translate

whocarez wrote:

And there exists also a problem with very long urls, because the direct call of google_translate doubles the url length and end´s up with a “nice try” message, for example:

TXP has a spam protection method that limits the lenght of URLs. You can change the setting in TXP’s Preferences: Admin / Preferences / Advanced / Maximum URL length (in characters).

whocarez wrote:

IMHO could a solution be to retransform clean urls in their messy equivalent before passing it over to google_translate.

Personally I’m not really sure about that. To me it seems to be better practice to redirect or block the messy urls to prevent double content. In those cases the messy equivalents do nothing.

Also, the plugin uses requested url instead building the url. That way it doesn’t ignore anytype of request, that TXP’s url function would.

Anyways, if you want to use messy urls with the plugin, you can do/code it with couple of ways:

  1. Using TXP’s url functions. When calling the function, you temporarily change the url prefs on fly and use TXP’s pagelinkurl or whatever function to build the url. That way the function will form a messy url.
  2. Or you can build the get array. You can use TXP’s globals or smth (index.php?c='.category(array()).'&s='.section(array()).'&id='.article_id(array())).

Last edited by Gocom (2010-03-01 16:04:31)


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

 

#10 2010-03-01 16:04:43

whocarez
Member
epsilon
Real name: Andreas
From: Germany
Known languages: ger, some eng, ru and ua
Website

Re: rah_google_translate

Gocom wrote:

TXP has a spam protection method that limits the lenght of URLs. You can change the setting in TXP's Preferences: _Admin / Preferences / Advanced / Maximum URL length (in characters)_.

Ah, ok I forgot about that … or rather I was not sure from where the limit is set.

But, what is with the first problem? Is it connected with clean urls and lighttpd?

/impressum
/impressum/?rah_google_language=en&rah_site_language=de&rah_translate_page=%2Fimpressum%2F

does not show up a translated page. The parameters are only ignored …

Btw. you can test it on my site (http://www.ukraine-nachrichten.de). Mainsite ist working, but any clean url does end without any change. The translate button is in the middle of the head area …

Offline

 

Powered by PunBB
© Copyright 2002 – 2005 Rickard Andersson