Digital Point Forums
Moneygram

Go Back   Digital Point Forums > Business > Buy, Sell or Trade > Freebies
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Dec 2nd 2005, 4:11 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Talking Free on the fly site translation script

I know it says Buy, Sell or Trade but this is actually a freebie.

I've just stuck a copy of my on the fly translation script which I adapted from the simple thoughts wordpress plugin into a zip file which you can get here:

http://www.articlecodex.com/translate.zip

I'm afraid to get it working on your site you need to edit all the index.php files individually to change:
$MySiteURL = "http://www.articlecodex.com";
to your own URL.

Also you'll need to create an "en" folder and set it up with a page that simply redirects to your homepage.

Then all you should need to do is upload the entire translate folder to the root of your site and point your browser at http://www.yourdomain.com/translate/fr/?/ to see a french translation of your site.

It does this via the google translate site on the fly and you can see it working here: http://www.articlecodex.com/

Let me know if you have any problems..

Edit - I don't know how it will handle URL's with large query strings to be honest. I have played around with this a bit but as my site is designed to not use more than a few basic querystrings I haven't played with this much.. There is also a line in the code of every page to convert my charset which you may or may not need to adjust.

Mike
Reply With Quote
  #2  
Old Dec 2nd 2005, 10:24 pm
ly2's Avatar
ly2 ly2 is offline
Starcaller
 
Join Date: Nov 2005
Location: US
Posts: 4,016
ly2 is a splendid one to beholdly2 is a splendid one to beholdly2 is a splendid one to beholdly2 is a splendid one to beholdly2 is a splendid one to beholdly2 is a splendid one to beholdly2 is a splendid one to beholdly2 is a splendid one to behold
wow, amazing!
__________________
Are you a DMOZ editor? Do you know a DMOZ editor? I'm willing to buy my way into DMOZ if you want to make some extra money. The sites are good sites, I just need the approval process expedited. PM me!
Reply With Quote
  #3  
Old Dec 2nd 2005, 11:42 pm
Sunny's Avatar
Sunny Sunny is offline
Twilight Vanquisher
 
Join Date: Sep 2005
Location: Dotian.com
Posts: 686
Sunny will become famous soon enough
Really amazing.

Thanks Interlogic
Reply With Quote
  #4  
Old Dec 3rd 2005, 10:34 am
RectangleMan's Avatar
RectangleMan RectangleMan is offline
Starcaller
 
Join Date: Jul 2005
Location: Las Vegas
Posts: 2,544
RectangleMan is a jewel in the roughRectangleMan is a jewel in the roughRectangleMan is a jewel in the roughRectangleMan is a jewel in the rough
Rep Added...that's great of you to share this code. It looks very nice and easy to implement.
__________________
Get the best coding, webmasters and computer help at Support Forums.
For MyBB plugins, themes, and support visit MyBB Central
Reply With Quote
  #5  
Old Dec 4th 2005, 5:25 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Glad you like it!
Reply With Quote
  #6  
Old Dec 4th 2005, 5:26 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
I got a Grey Reputation point for posting this.. Is that a Neg Rep?!
Reply With Quote
  #7  
Old Dec 4th 2005, 5:59 am
Dejavu's Avatar
Dejavu Dejavu is offline
Twilight Vanquisher
 
Join Date: Apr 2005
Posts: 916
Dejavu has a spectacular aura aboutDejavu has a spectacular aura about
I think that is someone who is himself red thats trying to rep you.
Reply With Quote
  #8  
Old Dec 4th 2005, 6:01 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Ahhhh Like "Rep Light"?
Reply With Quote
  #9  
Old Dec 4th 2005, 6:26 am
NewBeing's Avatar
NewBeing NewBeing is offline
Champion of the Naaru
 
Join Date: Nov 2005
Location: Elysian Fields
Posts: 236
NewBeing is on a distinguished road
Nice one Interlogic, cool code and its very generous of you to share, thanks
Reply With Quote
  #10  
Old Dec 4th 2005, 6:29 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Well I've gotten lots of info and advice on here so it's nice for me to be able to give something back
Reply With Quote
  #11  
Old Dec 4th 2005, 8:40 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Just want to add this script requires cURL to be enabled.

To check your current setup create a test php page with <?php phpinfo(); ?> this in the body.

then do a search for curl on the page that is generated and you should see a section with info along these lines:

cURL support enabled
cURL Information libcurl/7.12.3 OpenSSL/0.9.6b zlib/1.2.1

If you don't have cURL installed then this script won't work for you I'm afraid..
Reply With Quote
  #12  
Old Dec 6th 2005, 7:27 am
keral82's Avatar
keral82 keral82 is offline
Banned
 
Join Date: Oct 2005
Location: India
Posts: 781
keral82 is infamous around these partskeral82 is infamous around these parts
very good offer
Reply With Quote
  #13  
Old Dec 15th 2005, 9:54 pm
kaptain kaptain is offline
Champion of the Naaru
 
Join Date: Aug 2004
Location: New Orleans
Posts: 194
kaptain is on a distinguished road
Cool little script....

Question: Are any of the translated pages being indexed? Ok... i found some in Yahoo and MSN, but seems like Google is being slow.

Like i said: nice and Thanks
__________________
Thanks,
Dave
Reply With Quote
  #14  
Old Dec 16th 2005, 1:22 am
NewBeing's Avatar
NewBeing NewBeing is offline
Champion of the Naaru
 
Join Date: Nov 2005
Location: Elysian Fields
Posts: 236
NewBeing is on a distinguished road
Quote:
Question: Are any of the translated pages being indexed? Ok... i found some in Yahoo and MSN, but seems like Google is being slow.
If this is the case, in the eyes of the search engines, does this mean that my site has got 8 times as big since adding the translation script?
Reply With Quote
  #15  
Old Dec 16th 2005, 3:04 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Quote:
Originally Posted by kaptain
Cool little script....

Question: Are any of the translated pages being indexed? Ok... i found some in Yahoo and MSN, but seems like Google is being slow.

Like i said: nice and Thanks
Glad you like it.

I'm not sure what's going to happen indexing wise.. I am hoping that the search engines will index the pages but so far they all seem to have been quite slow about indexing them but I have seen results in MSN and Yahoo for the translated pages and google has only just done it's first deep crawl of the site so I am hopefull..

kaptain - yes I am hopefull that it will basically index all the pages as new content or at least give them more weight than standard duplicate pages.. Won't know till I see what sort of indexing if any is done..

Mike
Reply With Quote
  #16  
Old Dec 16th 2005, 3:07 am
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Ohhhh just did a quick google search and saw that ly2.com which is using the script has gotten some of their french pages indexed anyway..

http://www.google.ie/search?hl=en&sa...ate%2Ffr&meta=
Reply With Quote
  #17  
Old Dec 19th 2005, 2:34 pm
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
Quick Update..

I've been keeping and eye on my sites indexed pages in google and there are definitely some translated pages being indexed:

http://www.google.com/search?q=site:...start=400&sa=N
Reply With Quote
  #18  
Old Jan 4th 2006, 2:28 pm
Wally's Avatar
Wally Wally is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Berlin, Germany
Posts: 332
Wally will become famous soon enough
Quote:
Also you'll need to create an "en" folder and set it up with a page that simply redirects to your homepage.
You mean I have to create a new folder called "en" not "de"? my language is de in germany, my sites are german?
and in this Folder I have to set a page. What page? ooo.html?? is html ok?
And what exactly must I write in this page, what Html Code?

I think that is all to difficult for me.

Also the Translation ist not soooo very good, but this is normal. There is no good translation Programm, is not existing a really good Program or translation. Maybe in the future.
__________________
NO Iam NOT the signature - Iam just cleaning here!!!
Reply With Quote
  #19  
Old Jan 5th 2006, 1:10 pm
Interlogic's Avatar
Interlogic Interlogic is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Dublin, Ireland
Posts: 451
Interlogic is a jewel in the roughInterlogic is a jewel in the roughInterlogic is a jewel in the rough
hehe, afraid I've only set the script up to translate from English to german, spanish, italian etc. etc. etc.
Reply With Quote
  #20  
Old Jan 5th 2006, 6:30 pm
Wally's Avatar
Wally Wally is offline
Hand of A'dal
 
Join Date: Jul 2005
Location: Berlin, Germany
Posts: 332
Wally will become famous soon enough
oh ok so I can save my nerves to put a script up
__________________
NO Iam NOT the signature - Iam just cleaning here!!!
Reply With Quote
Reply

Bookmarks
Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
word to word language translation script? Haichi Programming 5 Dec 25th 2006 8:23 am
Where can I find a script for a free articles site DomainMagnate Scripts 9 Aug 20th 2006 11:50 am
Fly with Google ! LaCabra Google 8 Nov 6th 2005 9:39 pm
Text to HTML on the Fly BayouBengal Programming 6 Jun 9th 2005 7:09 am
Lifting Images On-The-Fly T0PS3O PHP 16 May 26th 2005 3:43 am


All times are GMT -8. The time now is 11:54 am.