You are welcome to look around. You will have to register before you can post a message, create a blog, chat live with our members, or add a site to our directory.
That aside I started reading more here and a thread about how this was pulling traffic but then stopped caught my attention.
Google deindexed some of my translated pages. I moved them to different URL's and they were reindexed. I lost the value of the inbound links which those pages had collected though.
Google never explained why they deindexed just some translated pages.
Quote:
Originally Posted by davesnake
You mention version 3 was weeks away last year but I still see you are on version 2.
Thanks for the reply, it's convinced me to give it another shot.
I get the follow error on Google;
Code: -2 (LANG2: Translator returned status '302' (req=http://translate.google.com/translate_c?hl=en&langpair=en%7Cforums&u=http://www.computer-juice.com/forums/))
If I copy/paste the URL is says I cannot translate from English to English.
Yahoo give me this error;
Code: -2 (LANG2: Translator returned status '302' (req=http://72.30.186.56/babelfish/translate_url_content?lp=en_forums&trurl=http://www.computer-juice.com/forums/))
If I copy/paste the url i get a white screen, yahoo doesn't load. Even http://72.30.186.56/ brings up a blank screen.
Please help me out, thanks. Dave.
Hi Dave,
I have been struggling to get this script to work for some days now, but, like you, I see the massive potential for this script and will stick with it until I get it to work.
I digress....
With respect to your query, it looks like something is messing with the URL being sent to Google or Yahoo!
Could you look at the contents of your translate.php file please? The code section I am interested in is at the top of the file, like this:
Code:
<?php
//Version: 2.15
//Define translation engines here
$engines = array(
'g' => array( 'trans_url' => 'http://translate.google.com/translate_c?hl=en&langpair=en%7C$lang&u=$url',
'timeout' => 180,
'max_redir' => 3,
'check_func' => 'GoogleCheck', //This function should determine if the translation was successful
'fixup_func' => 'GoogleFixup'
),
//TODO: Yahoo translation requires an IP hostname, should code a workaround for this
'y' => array( //'trans_url' => 'http://74.6.146.244/babelfish/translate_url_content?lp=en_$lang&trurl=$url',
'trans_url' => 'http://72.30.186.56/babelfish/translate_url_content?lp=en_$lang&trurl=$url',
'timeout' => 180,
'max_redir' => 3,
'check_func' => 'YahooCheck',
'fixup_func' => 'YahooFixup'
)
);
The piece of code I am interested in is highlighted in RED. Please confirm your code has this call...
On my first go I was installing with some editing to remove the lang/ylang folder.
Now I have decided to keep it simple and follow the instructions to the T.
Yet I still get this error with Google;
Quote:
We are experiencing a temporary problem with the foreign language section. Please try again later. We apologize for the inconvenience.
Scuzi / Perdon / Pardon / Das is Nicht Gud / Sori / Nay canne doo tha laddy
Code: -2 (LANG2: Translator returned status '302' (req=http://translate.google.com/translate_c?hl=en&langpair=en%7Ces&u=http://www.domain.com/forums/))
Redirects:
And this one with Yahoo;
[QUOTE]We are experiencing a temporary problem with the foreign language section. Please try again later. We apologize for the inconvenience.
Scuzi / Perdon / Pardon / Das is Nicht Gud / Sori / Nay canne doo tha laddy