<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>robsmart.co.uk &#187; transliteration</title>
	<atom:link href="http://robsmart.co.uk/tag/transliteration/feed/" rel="self" type="application/rss+xml" />
	<link>http://robsmart.co.uk</link>
	<description>Emerging technology, Open Source and the Internet</description>
	<lastBuildDate>Sat, 08 Oct 2011 14:49:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Transliteration again &#8230; now complete</title>
		<link>http://robsmart.co.uk/2007/02/02/transliteration-again-now-complete/</link>
		<comments>http://robsmart.co.uk/2007/02/02/transliteration-again-now-complete/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 23:35:04 +0000</pubDate>
		<dc:creator>Rob Smart</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[arabic]]></category>
		<category><![CDATA[transliteration]]></category>

		<guid isPermaLink="false">http://robsmart.co.uk/?p=10</guid>
		<description><![CDATA[I&#8217;ve spent a bit more time on my arabic to english transliteration, it now does English to Arabic as well. So put your name into the text area below hit the &#8220;To Arabic&#8221; button and see what your name looks like in Arabic characters. Also have a go at pasting some Arabic text in to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent a bit more time on my arabic to english transliteration, it now does English to Arabic as well. So put your name into the text area below hit the &#8220;To Arabic&#8221; button and see what your name looks like in Arabic characters. Also have a go at pasting some Arabic text in to find out how those characters are pronounced (well&#8230;roughly pronounced <img src='http://robsmart.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) you have to be a bit creative and imagine that there are a few more vowels between the letters when doing the Arabic to English (see my lower transliteration post below for an explanation why).</p>
<p>(Please do not do anything permanent with the output of this, it is meant as an experiment. There will be errors in the output so don&#8217;t get a tattoo with anything that comes out of it.)</p>
<p><script src="http://robsmart.co.uk/js/ajax.js" type="text/javascript"></script><br />
 <script src="http://robsmart.co.uk/js/transliterate.js" type="text/javascript"></script></p>
<form> <textarea cols="50" rows="5" name="text">???? ?????? ??????? &#8220;??? ???????????? ???????&#8221; ???? ?? ??? ????? ????? ??? ???????? ?? ???? ?????? ????????? ???? ?????.</textarea></p>
<input onclick="javascript:sendArtoEn(text.value);" type="button" value="To English" />
<input onclick="javascript:sendEntoAr(text.value);" type="button" value="To Arabic" /> </form>
<div id="targeten" style="font-size:1.5em;"></div>
<div id="targetar" style="font-size:2em;" dir="rtl"></div>
]]></content:encoded>
			<wfw:commentRss>http://robsmart.co.uk/2007/02/02/transliteration-again-now-complete/feed/</wfw:commentRss>
		<slash:comments>83</slash:comments>
		</item>
		<item>
		<title>Arabic to English transliteration</title>
		<link>http://robsmart.co.uk/2007/02/01/arabic-transliteration/</link>
		<comments>http://robsmart.co.uk/2007/02/01/arabic-transliteration/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 23:27:02 +0000</pubDate>
		<dc:creator>Rob Smart</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[arabic]]></category>
		<category><![CDATA[transliteration]]></category>

		<guid isPermaLink="false">http://robsmart.co.uk/?p=8</guid>
		<description><![CDATA[So as part of my ongoing self education I&#8217;m attempting to learn the Arabic language, for good reason as Hanan my wife is half Syrian, half English and speaks fluent Arabic. I&#8217;m also going to be visiting both Saudi and Syria hopefully this year so I now have the kick up the back side I [...]]]></description>
			<content:encoded><![CDATA[<p>So as part of my ongoing self education <img src='http://robsmart.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   I&#8217;m attempting to learn the Arabic language, for good reason as Hanan my wife is half Syrian, half English and speaks fluent Arabic. I&#8217;m also going to be visiting both Saudi and Syria hopefully this year so I now have the kick up the back side I need to try and learn Arabic a little bit more formally.</p>
<p>An important part of learning Arabic and something I&#8217;ve avoided so far is learning the <a href="http://en.wikipedia.org/wiki/Arabic_alphabet">alphabet</a> and <a href="http://en.wikipedia.org/wiki/Arabic_language#Writing_system">writing system</a>. I&#8217;m still in the early stages of this at the moment and any exposure to the alphabet helps.</p>
<p>As a little excercise i&#8217;ve decided to write a bit of PHP script that takes a string of arabic characters and <a href="http://en.wikipedia.org/wiki/Transliteration">transliterates</a> them into the latin alphabet. Now what this basically equates to is a big ole switch statement checking the double byte value for each arabic character and then outputing the appropriate latin characters.</p>
<p>Sounds pretty easy ? Well it is really, but it has some drawbacks. It&#8217;s not really possible to get an end result that&#8217;s deadly accurate using standard internet typed Arabic. The reason for this is that the short vowels in Arabic are represented by using diacritics such as ´ above and below the characters these denote respectively whether there is to be an &#8220;a&#8221; sound or an &#8220;i&#8221; sound after the particular letter. (Oh and there are also 2 or 3 sounds that don&#8217;t exist in English but that&#8217;s another problem <img src='http://robsmart.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p>This is all fine, but the problem is these diacritics are usually left out of typed Arabic except to distinguish between two ambiguous words. So if the information is not there to start with we can&#8217;t 100% accurately work out the sound. However we can do an approximation and for most of the time this is good enough <img src='http://robsmart.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s a little sample sentence before and after transliteration.</p>
<p><font><font size="2"> ???? ?????? ??????? &#8220;??? ???????????? ???????&#8221; ???? ?? ??? ????? ????? ??? ???????? ?? ???? ?????? ????????? ???? ?????.</font></font></p>
<p>comes out as &#8230;</p>
<p><strong>qalt mjmoAa alshrkat &#8216;dbi antrnashional kabital&#8217; anha lm tAd mhtma bshraa HSa alaghlbia fi nadi lfrbol alanjlizi lkra alqdm.</strong></p>
<p>you can even start to spot some familiar words in there <strong>&#8216;dbi antrnashional kabital&#8217; = Dubai International Capital</strong> (there is no p sound in arabic so they come out as b&#8217;s )</p>
<p>I&#8217;ll have more of a play and see if i can improve it, but the output is good enough for Hanan to figure out the output without seeing the original (given a bit of head scratching admittedly). However its a good way for me to get a quick gist of how some arabic script should sound while i&#8217;m learning the alphabet.</p>
]]></content:encoded>
			<wfw:commentRss>http://robsmart.co.uk/2007/02/01/arabic-transliteration/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

