Translate Text
[php]
if($_POST[‘english’] == “English”){
header(‘Content-Type: text/html; charset=utf-8’);
$con=mysqli_connect(“jamesganesh.com”,”jamesgan”,”bath1964″,”jamesgan_dict”);
mysqli_set_charset($con,”utf8″);
$name=$_POST[“user”];
$result = mysqli_query($con,”SELECT * FROM EngThaiTones WHERE English LIKE ‘%”.$name.”%’ ORDER BY CASE WHEN English like ‘”.$name.”%’ THEN 0 ELSE 1 END, English limit 50;”);
while($row = mysqli_fetch_array($result)) {
echo ‘[font color=”red”]’.$row[“English”].'[br][/font]’;
echo ‘[font color=”blue”] — ‘.$row[“trans”].'[/font][br]’;
echo ‘[em][font color=”blue”] — ‘.$row[“Roman”].'[br][/font][/em]’;
}
mysqli_close($con);}
elseif($_POST[‘french’] == “Thai”){
header(‘Content-Type: text/html; charset=utf-8’);
$con=mysqli_connect(“jamesganesh.com”,”jamesgan”,”bath1964″,”jamesgan_dict”);
mysqli_set_charset($con,”utf8″);
$name=$_POST[“user”];
$result = mysqli_query($con,”SELECT * FROM EngThaiTones WHERE trans LIKE ‘%”.$name.”%’ ORDER BY CASE WHEN trans like ‘”.$name.”%’ THEN 0 ELSE 1 END, trans limit 50;”);
while($row = mysqli_fetch_array($result)) {
echo ‘[font color=”red”]’.$row[“trans”].'[/font][br]’;
echo ‘[font color=”red”]’.$row[“Roman”].'[br][/font]’;
echo ‘[em][font color=”blue”] — ‘.$row[“English”].'[br][/font][/em]’;
}
mysqli_close($con);}
[/php]
Looking to buy a English Thai Dictionary paperback or phrase book? Have you considered using a translation “app” on your mobile phone, PDA or games console, which uses the same space as a ringtone, is easy to install and is faster to reference than a book?
The English Thai dictionary suite (Eng Thai Dic.) is a full set of English Thai language software for multiple platforms. Each dictionary can be used to translate from English to Thai and from Thai to English.
English Thai Dictionary Android
English Thai Dictionary (J2ME – Mobile Phone)
Smartphones supporting Java (Symbian, S60, Windows mobile, Pocket PC, Android)
Games consoles (PSP, NDS, GP2X)
English Thai Dictionary (J2SE – Mac, Linux Windows)
Windows, Mac, Linux, Solaris (desktops and laptops)
Jailbroken iPhone and iTouch (no support given)
English Thai Dictionary (Palm OS)
Palm (Palms running Windows Mobile should use the J2ME – Mobile Phone version
English Thai Dictionary (Windows Mobile Smartphone)
English Thai Dictionary (Blackberry)
Versions for mobile phones and other mobile devices provide word translations Eng Thai displaying translations in phonetic Thai (romanised Thai). The Thai Eng dic translates from phonetic Thai to English and by using the copy feature this can be particularly useful for reverse lookups for synonyms and to understand the broader use of the Thai word in the English language. Although the Eng Thai dict does not provide definitions or examples, the use of the translation software in this way provides you with a mechanism to better understand Thai words in the English context without the need for detailed definitions.
Laptop and Desktop versions for Windows, Apple Mac and Linux of the English Thai language dictionary software display Thai characters as well as phonetic Thai when translating words from English to Thai. The copy feature is equally useful in helping to understand and communicate between English and Thai. This version can also translate from Thai characters to English as well as from phonetic Thai (romanised Thai) to English.
Windows, Apple Mac and Linux versions also provide a Thai learning mode, which uses flashcards to help you learn and memorize the Thai language. The learning or Thai teacher mode has 4 levels. In level one a word is selected from the 500 most commonly used English words and three Thai words are displayed for you to make your choice. If the correct word is selected points are awarded, otherwise a life is lost. The correct answer is always displayed after a Thai word is selected. Points are accumulated until 10 lives are lost. The second level of the game still tests against the 500 most commonly used English words, but offers a choice from five Thai words for the correct English to Thai translation. The Thai teacher becomes more difficult in levels 3 and 4 when you are tested on your knowledge of the Thai language against the complete Eng Thai dic. Like level 1, level 3 offers three Thai word choices and level 4 five Thai word choices from the extensive English Thai lexicon.
The learning mode provides the same functionality from Thai words to English for levels 1 to 4. Thai words are displayed in Thai characters, but after an English translation choice is made the phonetic Thai (romanised Thai) is also displayed whether the selection is right or wrong. This is very helpful for Thai language students who are learning to read Thai.
A paperless option makes sense. It is kinder to the environment, its faster and it works on a device you already own.