Translation scrip

  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 660
  • Loc: Conroe, Texas

Post 3+ Months Ago

I am trying to make a translation script where it will take english and translate it to the words of the language. I know that there is the google translator and things like that but they dont have the language that i am trying to use. any ideas or anything.
The problem is i dont want to use one word. I know how to do that but the issue is what if i type out a sencence and i want it to pick the words that i have put in and change them.
Code: [ Select ]
<form name="form1" method="post" action="">
 <label>
  <textarea name="username" id="username"></textarea>
 </label>
 <label>
  <input type="submit" name="button" id="button" value="Submit">
 </label>
</form>
<? $username = $_POST['username'];

if ($username == "hello") {
print ("keltxi");
}
else {
print ("hello");
}
?>
  1. <form name="form1" method="post" action="">
  2.  <label>
  3.   <textarea name="username" id="username"></textarea>
  4.  </label>
  5.  <label>
  6.   <input type="submit" name="button" id="button" value="Submit">
  7.  </label>
  8. </form>
  9. <? $username = $_POST['username'];
  10. if ($username == "hello") {
  11. print ("keltxi");
  12. }
  13. else {
  14. print ("hello");
  15. }
  16. ?>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • dazraf
  • Born
  • Born
  • dazraf
  • Posts: 2

Post 3+ Months Ago

To do that you need to use a massive db, also something to check and place words in correct grammatical format, this is a huge project...
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 660
  • Loc: Conroe, Texas

Post 3+ Months Ago

well i have the database for the spelling and translations of the words. of the language.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 133 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.