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_query(“SET NAMES ‘utf8′”);
mysqli_query(‘SET CHARACTER SET utf8’);
$name=$_POST[“user”];
$result = mysqli_query($con,”SELECT * FROM DanEng 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”]’.utf8_encode($row[“English”]).'[br][/font]’;
echo ‘[em][font color=”blue”] — ‘.utf8_encode($row[“French”]).'[br][/font][/em]’;
}
mysqli_close($con);}
elseif($_POST[‘french’] == “Danish”){
header(‘Content-Type: text/html; charset=utf-8’);
$con=mysqli_connect(“jamesganesh.com”,”jamesgan”,”bath1964″,”jamesgan_dict”);
mysqli_query(“SET NAMES ‘utf8′”);
mysqli_query(‘SET CHARACTER SET utf8’);
$name=$_POST[“user”];
$result = mysqli_query($con,”SELECT * FROM DanEng 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 color=”red”]’.utf8_encode($row[“French”]).'[br][/font]’;
echo ‘[em][font color=”blue”] — ‘.utf8_encode($row[“English”]).'[br][/font][/em]’;
}
mysqli_close($con);}
[/php]
Looking to buy an English Danish 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 Danish dictionary suite (Eng Danish Dic.) is a full set of English Danish language software for multiple platforms. Each dictionary can be used to translate from English to Danish and from Danish to English.
English Danish Dictionary Android
English Danish Dictionary (J2ME – Mobile Phone)
Smartphones supporting Java (Symbian, S60, Windows mobile, Pocket PC, Android)
Games consoles (PSP, NDS, GP2X)
English Danish Dictionary (J2SE – Mac, Linux Windows)
Windows, Mac, Linux, Solaris (desktops and laptops)
Jailbroken iPhone and iTouch (no support given)
English Danish Dictionary (Palm OS)
Palm (Palms running Windows Mobile should use the J2ME – Mobile Phone version
English Danish Dictionary (Windows Mobile Smartphone)
English Danish Dictionary (Blackberry)
All versions provide word translations Eng Danish and Danish Eng. The copy feature can be used for reverse lookups to display synonyms and to understand the broader use of the Danish word in the English language. Although the Eng Danish dict does not provide definitions or examples, the use of the translation software in this way provides you with a mechanism to better understand Danish words in the English context without the need for detailed definitions.
Laptop and Desktop versions for Windows, Apple Mac and Linux have a Danish learning mode, which uses flashcards to help you learn and memorize the Danish language. The learning or Danish teacher mode has 4 levels. In level one a word is selected from the 500 most commonly used English words and three Danish 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 Danish 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 Danish words for the correct English to Danish translation. The Danish teacher becomes more difficult in levels 3 and 4 when you are tested on your knowledge of the Danish language against the complete Eng Danish dic. Like level 1, level 3 offers three Danish word choices and level 4 five Danish word choices from the extensive English Danish lexicon.
The learning mode provides the same functionality from Danish words to English for levels 1 to 4. Danish words are displayed 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.