NetBuilders

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.




Reply ServInt - AMAZING and Inexpensive Managed VPS/Dedicated Server Hosting
Old 11 April, 2009, 01:05 AM   #1 (permalink)
Unknown Net Builder
 
JasMate's Avatar
 
iTrader: (0)
Thanked 0 Times in 0 Posts
Posts: 4
$NetBucks: 0
Join Date: Apr 2009
Last Online: 10 August, 2009 07:32 AM
Red face Please help, files are uploaded now what?

Ok got my files uploaded but now what do I link to? I found the readme a bit un-simplistic sorry

This part baffles me
Quote:
Place the links from one of the flag files somewhere on your web page
This is what I have tryed (laugh as loud as you want )
Setting up a single text link called "translate" on my home page and linking to the following:
flags-google.shtml
/lang/es
/lang/es<?php echo $_SERVER[


Sad I know but hey I know nothing about this stuff
PS: Not sure if it makes much difference by my site is in PHP.
  Reply With Quote
Old 11 April, 2009, 06:03 AM   #2 (permalink)
Gozer
 
Will.Spencer's Avatar
 
Location: Singapore
iTrader: (45)
Blog Entries: 1
Thanked 1,612 Times in 885 Posts
Posts: 4,922
$NetBucks: 8,151
Join Date: Dec 2008
Last Online: Yesterday 18:14 PM
Default

Quote:
Originally Posted by JasMate View Post
Ok got my files uploaded but now what do I link to? I found the readme a bit un-simplistic sorry
Maybe you can help improve it soon.

Quote:
Originally Posted by JasMate View Post
This part baffles me This is what I have tryed (laugh as loud as you want )
Setting up a single text link called "translate" on my home page and linking to the following:
flags-google.shtml
/lang/es
/lang/es<?php echo $_SERVER[
flags-google.shtml is a sample implementation. Most people can just cut and paste the contents of that file into their web site.


But...

Google recently changed the design of Google Translate -- so the translation script is not working for anyone. It will need to be redesigned to work with the new URL structure from Google.
  Reply With Quote
Old 12 April, 2009, 09:52 AM   #3 (permalink)
Unknown Net Builder
 
JasMate's Avatar
 
iTrader: (0)
Thanked 0 Times in 0 Posts
Posts: 4
$NetBucks: 0
Join Date: Apr 2009
Last Online: 10 August, 2009 07:32 AM
Default

Are you sure it's just google? I just added the code from the yahoo file and get this error when I click the link:
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
If this script isn't working can you just tell me straight out? I read a few support posts about similar issues that I am having and it seems there is no definate answer about the script being at fault, yet the user's are not able to resolve their issues. Please let me know as I need to find a solution for my site asap. Cheers.
  Reply With Quote
Old 12 April, 2009, 12:47 PM   #4 (permalink)
Gozer
 
Will.Spencer's Avatar
 
Location: Singapore
iTrader: (45)
Blog Entries: 1
Thanked 1,612 Times in 885 Posts
Posts: 4,922
$NetBucks: 8,151
Join Date: Dec 2008
Last Online: Yesterday 18:14 PM
Default

Quote:
Originally Posted by JasMate View Post
Are you sure it's just google?
Google made the change and now we need to adjust to it.

So, you could blame Google or you could blame us. Either way, the two are not working together.

Quote:
Originally Posted by JasMate View Post
I just added the code from the yahoo file and get this error when I click the link:
I haven't used the Yahoo translations in a long time. My current feeling is that the Google translations are so significantly superior that I am not going to invest any time with the other translation engines unless Google Translate becomes permanently unavailable.

Do you have shell access to your server? If so, you can try to access Yahoo Babelfish from the server using `lynx` or `elinks`.

Last I worked with it, Babelfish was doing some impressively sneaky things to block automated access. They were blocking requests that came from the same IP as the IP of the web site being requested. This effectively blocked every webmaster whose web site was hosted on a server with just one IP. I think Yahoo may have stopped doing that though.

Instead, more people seem to have trouble with the Babelfish IP addresses not working from their servers. You may have to run some `nslookup` commands from your server to find the proper Babelfish IP addresses from your servers location.

You then have to change the IP on this line from translate/index.php:
Code:
'trans_url'             => 'http://72.30.186.56/babelfish/translate_url_content?lp=en_$lang&trurl=$url',
  Reply With Quote
Old 13 April, 2009, 00:28 AM   #5 (permalink)
Unknown Net Builder
 
JasMate's Avatar
 
iTrader: (0)
Thanked 0 Times in 0 Posts
Posts: 4
$NetBucks: 0
Join Date: Apr 2009
Last Online: 10 August, 2009 07:32 AM
Default

Quote:
Originally Posted by Will.Spencer View Post
Google made the change and now we need to adjust to it.
How long will it take to adjust the script do you think?
Also how often does this happen? If it only happens every now and then all is good but if this is every month I don't think I want to be adjusting things all the time
  Reply With Quote
Old 13 April, 2009, 03:29 AM   #6 (permalink)
Gozer
 
Will.Spencer's Avatar
 
Location: Singapore
iTrader: (45)
Blog Entries: 1
Thanked 1,612 Times in 885 Posts
Posts: 4,922
$NetBucks: 8,151
Join Date: Dec 2008
Last Online: Yesterday 18:14 PM
Default

Quote:
Originally Posted by JasMate View Post
How long will it take to adjust the script do you think?
That depends upon how major the changes made by Google were. At this point, that is an unknown.

Quote:
Originally Posted by JasMate View Post
Also how often does this happen? If it only happens every now and then all is good but if this is every month I don't think I want to be adjusting things all the time
Google doesn't want people to use automated means to access their translation services.

As such, they don't make it easy to do so -- in fact they make it quite difficult.

There are better translation scripts available if your site is running Wordpress or Joomla. If you site is not running either of those CMS's, I'm not sure what I would recommend.
  Reply With Quote
Thanked by:
JasMate (13 April, 2009)
Old 13 April, 2009, 13:01 PM   #7 (permalink)
Unknown Net Builder
 
JasMate's Avatar
 
iTrader: (0)
Thanked 0 Times in 0 Posts
Posts: 4
$NetBucks: 0
Join Date: Apr 2009
Last Online: 10 August, 2009 07:32 AM
Default

Ok Will thanks for the honest reply
  Reply With Quote
Old 24 April, 2009, 00:27 AM   #8 (permalink)
Gozer
 
Will.Spencer's Avatar
 
Location: Singapore
iTrader: (45)
Blog Entries: 1
Thanked 1,612 Times in 885 Posts
Posts: 4,922
$NetBucks: 8,151
Join Date: Dec 2008
Last Online: Yesterday 18:14 PM
Default

Revision 2.16 of the translation script has been released and is now available for download.

It is happily translating pages on my server even as I type this.
  Reply With Quote
Reply

Bookmarks

Tags
files, uploaded


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum signature files artagnan1978 Promoting 15 10 August, 2009 20:08 PM
Unix command for making files Mr.Bill Managing 2 31 July, 2009 12:37 PM
more than 3000 java script files ghadeer Programming 0 9 May, 2009 01:02 AM
Best way to transfer files between PCs? Arlind Tech-Talk 6 6 May, 2009 08:10 AM
What program would be used to open these files? Mr.Bill Tech-Talk 7 28 April, 2009 20:59 PM


All times are GMT. The time now is 04:45 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.1
vBAdvertise v1.0.0 Copyright ©2009, PixelFX Studios
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios