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 EngPer 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 ‘[strong][font color=”red”]’.$row[“English”].'[br][/font][/strong]’;
echo ‘[font size=”4″ color=”blue”] – ‘.$row[“French”].'[/font][br]’;
echo ‘[em][strong][font color=”blue”] — ‘.$row[“roman”].'[br][/font][/strong][/em]’;
}
mysqli_close($con);}
elseif($_POST[‘french’] == “Persian”){
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 EngPer WHERE French LIKE ‘%”.$name.”%’ ORDER BY CASE WHEN French like ‘”.$name.”%’ THEN 0 ELSE 1 END, French limit 50;”);
while($row = mysqli_fetch_array($result)) {
echo ‘[font size=”4″ color=”red”]’.$row[“French”].'[/font][br]’;
echo ‘[strong][font color=”red”]’.$row[“roman”].'[br][/font][/strong]’;
echo ‘[em][strong][font color=”blue”] — ‘.$row[“English”].'[br][/font][/strong][/em]’;
}
mysqli_close($con);}
[/php]
Looking to buy an English Persian 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 Persian dictionary suite (Eng Persian Dic.) is a full set of English Persian language software for multiple platforms. Each dictionary can be used to translate from English to Persian and from Persian to English.
English Persian Dictionary Android
English Persian Dictionary (J2ME – Mobile Phone)
Smartphones supporting Java (Symbian, S60, Windows mobile, Pocket PC, Android)
Games consoles (PSP, NDS, GP2X)
English Persian Dictionary (J2SE – Mac, Linux Windows)
Windows, Mac, Linux, Solaris (desktops and laptops)
Jailbroken iPhone and iTouch (no support given)
English Persian Dictionary (Palm OS)
Palm (Palms running Windows Mobile should use the J2ME – Mobile Phone version
English Persian Dictionary (Windows Mobile Smartphone)
English Persian Dictionary (Blackberry)
All versions provide word translations Eng Persian displaying translations in phonetic Persian (romanised Persian). The Persian Eng dic translates from phonetic Persian 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 Persian word in the English language. Although the Eng Persian dict does not provide definitions or examples, the use of the translation software in this way provides you with a mechanism to better understand Persian words in the English context without the need for detailed definitions.
Laptop and Desktop versions for Windows, Apple Mac and Linux have a Persian learning mode, which uses flashcards to help you learn and memorize the Persian language. The learning or Persian teacher mode has 4 levels. In level one a word is selected from the 500 most commonly used English words and three Persian 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 Persian 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 Persian words for the correct English to Persian translation. The Persian teacher becomes more difficult in levels 3 and 4 when you are tested on your knowledge of the Persian language against the complete Eng Persian dic. Like level 1, level 3 offers three Persian word choices and level 4 five Persian word choices from the extensive English Persian lexicon.
The learning mode provides the same functionality from Persian words to English for levels 1 to 4. Persian words are displayed in phonetic Persian (romanised Persian) for you to choose an English translation. The same scoring and lives applies as for English.
A paperless option makes sense. It is kinder to the environment, its faster and it works on a device you already own.