Talk Arcades: Forum for Arcade Webmasters    

  Talk Arcades > Marketplace > Game Packs

Welcome to Talk Arcades, the premier forum for arcade webmasters.

You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and participate in our Live Marketplace. Registration is easy, so please join us today!

Reply
 
LinkBack Thread Tools Display Modes
Old 09-30-2008, 03:59 AM   #1 (permalink)
someone100
Contributing Member
 
Join Date: Sep 2008
Posts: 30
someone100 is on a distinguished road

iTrader: (0)

Wink is it possable to to selective translation

is it possable to to selective translation* of one

field in one table in mysql database ?


*converting from one lang to another using google translation .
someone100 is offline  
Digg this Post!
Reply With Quote
Old 09-30-2008, 09:53 AM   #2 (permalink)
archgames
Senior Member
 
archgames's Avatar
 
Join Date: Jan 2008
Posts: 904
archgames is on a distinguished road
Send a message via MSN to archgames

iTrader: (0)

Default

not with google translation
but you might be with a custom script of something idk
__________________
Best Ad Networks : ValueClickMedia | Adsense
Arcades : Free Flash Games
Best arcade Host : HostGator | Hostmonster 4.95$ a mo great stuff!
Webmaster? : Trade 1:1 Traffic
Best Arcade Script : PHParcadeScript (includes 2.7k Games)

/\/\ My Recommendations....







archgames is online now  
Digg this Post!
Reply With Quote
Old 09-30-2008, 09:56 AM   #3 (permalink)
someone100
Contributing Member
 
Join Date: Sep 2008
Posts: 30
someone100 is on a distinguished road

iTrader: (0)

Default

google has very good translation !!!
someone100 is offline  
Digg this Post!
Reply With Quote
Old 09-30-2008, 04:43 PM   #4 (permalink)
hawkal
Senior Member
 
Join Date: May 2007
Posts: 208
hawkal is on a distinguished road

iTrader: (0)

Default

After a little bit of testing I am 98% sure it is possible but it's a job for an advanced php coder. Luckily for you google has already thought of this and have written an AJAX language API http://code.google.com/apis/ajaxlanguage/documentation/#Examples .
__________________
www.ownage.us

www.Allarcade.us

hawkal is online now  
Digg this Post!
Reply With Quote
Old 10-01-2008, 01:29 AM   #5 (permalink)
someone100
Contributing Member
 
Join Date: Sep 2008
Posts: 30
someone100 is on a distinguished road

iTrader: (0)

Default

wow !!!!!!!! you are the man !!!!!

thanks
all that left is find the pull out and updateing one script in same script.
someone100 is offline  
Digg this Post!
Reply With Quote
Old 10-01-2008, 03:10 AM   #6 (permalink)
hawkal
Senior Member
 
Join Date: May 2007
Posts: 208
hawkal is on a distinguished road

iTrader: (0)

Default

your welcome.
__________________
www.ownage.us

www.Allarcade.us

hawkal is online now  
Digg this Post!
Reply With Quote
Old 10-01-2008, 08:06 AM   #7 (permalink)
someone100
Contributing Member
 
Join Date: Sep 2008
Posts: 30
someone100 is on a distinguished road

iTrader: (0)

Default

hawkal , do you have some simple script to pull out data from mysql data base and after the translation the data will be updated ?
someone100 is offline  
Digg this Post!
Reply With Quote
Old 10-19-2008, 07:21 PM   #8 (permalink)
someone100
Contributing Member
 
Join Date: Sep 2008
Posts: 30
someone100 is on a distinguished road

iTrader: (0)

Default

deleted the code .

Last edited by someone100 : 10-21-2008 at 04:08 AM.
someone100 is offline  
Digg this Post!
Reply With Quote
Old 10-20-2008, 05:55 PM   #9 (permalink)
hawkal
Senior Member
 
Join Date: May 2007
Posts: 208
hawkal is on a distinguished road

iTrader: (0)

Default

I don't use javascript but by the looks of it the javascript references the "translation" div as placement for the text. The problem is that because your out putting lots of games (like a category page) the text couldn't be all in the same place. I think google have over complicated the translation funtion because what I thought that you could of done was to create another field in your database for the different language then loop through the existing descriptions updating the new field with the translated text but while I am sure it is possible to do this the best way I can think of doing that would be complex and probably long winded due to my lack of javascript knowledge.

I might look at this again when I have time but I doubt I'll be able to help.


Just a side note


This is all the javascript you should need because you shouldn't need to detect the original language unless all of your descriptions are in lots of different languages that is.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Google AJAX Language API - Basic Translation</title> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("language", "1"); function initialize() { google.language.translate("Hello world", "en", "es", function(result) { if (!result.error) { var container = document.getElementById("translation"); container.innerHTML = result.translation; } }); } google.setOnLoadCallback(initialize); </script> </head> <body> <div id="translation"></div> </body> </html>
__________________
www.ownage.us

www.Allarcade.us

hawkal is online now  
Digg this Post!
Reply With Quote
Old 10-21-2008, 04:09 AM   #10 (permalink)
someone100
Contributing Member
 
Join Date: Sep 2008
Posts: 30
someone100 is on a distinguished road

iTrader: (0)

Default

thanks a lot !!!!!
someone100 is offline  
Digg this Post!
Reply With Quote
Reply


Thread Tools
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

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



All times are GMT -6. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6
© TalkArcades.com
Forum - Register - Calendar - Memberlist - FAQ - Search