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 EngSwa 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’] == “Swahili”){
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 EngSwa 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 Swahili 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 Swahili dictionary suite (Eng Swahili Dic.) is a full set of English Swahili language software for multiple platforms. Each dictionary can be used to translate from English to Swahili and from Swahili to English.
English Swahili Dictionary Android
English Swahili Dictionary (J2ME – Mobile Phone)
Smartphones supporting Java (Symbian, S60, Windows mobile, Pocket PC, Android)
Games consoles (PSP, NDS, GP2X)
English Swahili Dictionary (J2SE – Mac, Linux Windows)
Windows, Mac, Linux, Solaris (desktops and laptops)
Jailbroken iPhone and iTouch (no support given)
English Swahili Dictionary (Palm OS)
Palm (Palms running Windows Mobile should use the J2ME – Mobile Phone version
English Swahili Dictionary (Windows Mobile Smartphone)
English Swahili Dictionary (Blackberry)
All versions provide word translations Eng Swahili and Swahili Eng. The copy feature can be used for reverse lookups to display synonyms and to understand the broader use of the Swahili word in the English language. Although the Eng Swahili dict does not provide definitions or examples, the use of the translation software in this way provides you with a mechanism to better understand Swahili words in the English context without the need for detailed definitions.
Laptop and Desktop versions for Windows, Apple Mac and Linux have a Swahili learning mode, which uses flashcards to help you learn and memorize the Swahili language. The learning or Swahili teacher mode has 4 levels. In level one a word is selected from the 500 most commonly used English words and three Swahili 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 Swahili 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 Swahili words for the correct English to Swahili translation. The Swahili teacher becomes more difficult in levels 3 and 4 when you are tested on your knowledge of the Swahili language against the complete Eng Swahili dic. Like level 1, level 3 offers three Swahili word choices and level 4 five Swahili word choices from the extensive English Swahili lexicon.
The learning mode provides the same functionality from Swahili words to English for levels 1 to 4. Swahili 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.