<?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>Byumut &#187; php çeviri</title>
	<atom:link href="http://www.byumut.com/tag/php-ceviri/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.byumut.com</link>
	<description>&#34; Sadece Yapamadıklarınızdan Pişman Olursunuz &#34;</description>
	<lastBuildDate>Sun, 04 Jul 2010 11:17:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Google Translate Fonksiyonu</title>
		<link>http://www.byumut.com/google-translate-fonksiyonu/</link>
		<comments>http://www.byumut.com/google-translate-fonksiyonu/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 00:50:21 +0000</pubDate>
		<dc:creator>byumut</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[dil çeviri]]></category>
		<category><![CDATA[fonksiyon]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google translate]]></category>
		<category><![CDATA[php çeviri]]></category>
		<category><![CDATA[php dil çeviri]]></category>
		<category><![CDATA[php fonksiyon]]></category>
		<category><![CDATA[php languages translate]]></category>
		<category><![CDATA[translate]]></category>

		<guid isPermaLink="false">http://www.byumut.com/?p=515</guid>
		<description><![CDATA[Hepimiz biliyoruzdur herhalde arkadaşlar Google 'nin http://translate.google.com adresinde bize sunduğu çeviri hizmetini . İşte bu hizmeti basit bir fonksiyon ile bizde sitelelerimizde rahatlıkla kullannabiliriz. İşte fonksiyon : PLAIN TEXT PHP: function Translate&#40;$str, $lang1="en", $lang2="tr"&#41;&#123; $data = file_get_contents&#40;'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&#38;q='.urlencode&#40;$str&#41;.'&#38;langpair='.$lang1.'%7C'.$lang2.''&#41;; &#160; &#160; $data = json_decode&#40;$data&#41;; &#160; &#160; return $data-&#62;responseData-&#62;translatedText; &#125; Umarım işinize yarar]]></description>
			<content:encoded><![CDATA[<p>Hepimiz biliyoruzdur herhalde arkadaşlar Google 'nin <a href="http://translate.google.com">http://translate.google.com</a> adresinde bize sunduğu çeviri hizmetini . İşte bu hizmeti basit bir fonksiyon ile bizde sitelelerimizde rahatlıkla kullannabiliriz. </p>
<p><strong>İşte fonksiyon : </strong> </p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> Translate<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$str</span>, <span style="color:#0000FF;">$lang1</span>=<span style="color:#FF0000;">"en"</span>, <span style="color:#0000FF;">$lang2</span>=<span style="color:#FF0000;">"tr"</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$data</span> = <a href="http://www.php.net/file_get_contents"><span style="color:#000066;">file_get_contents</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&amp;q='</span>.<a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$str</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#FF0000;">'&amp;langpair='</span>.<span style="color:#0000FF;">$lang1</span>.<span style="color:#FF0000;">'%7C'</span>.<span style="color:#0000FF;">$lang2</span>.<span style="color:#FF0000;">''</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$data</span> = json_decode<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$data</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$data</span>-&gt;<span style="color:#006600;">responseData</span>-&gt;<span style="color:#006600;">translatedText</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Umarım işinize yarar <img src='http://www.byumut.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.byumut.com/google-translate-fonksiyonu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
