الصفحة الرئيسية
المزايا
المشروع
روابط مفيدة
تنزيل
الأسئلة الشائعة
النسخة القديمة
See also: EnTransliteration

Related Class Documentation

<?php
  
require('I18N/Arabic.php');
  
$Ar = new I18N_Arabic('Transliteration');

  
$en_terms = array('George Bush',
      
'Paul Wolfowitz''Silvio Berlusconi',
      
'Guantanamo','Arizona','Maryland',
      
'Oracle','Yahoo','Google','Formula1',
      
'Boeing','Caviar','Telephone',
      
'Internet');

    echo 
'<ul>';
    
    foreach(
$en_terms as $term) {
        
$ar_term $Ar->en2ar($term);
        
$ar_term trim($ar_term);
        
        echo 
"<li> $term <b class=hilight>
              (
$ar_term)</b></li>";
    }

    echo 
'<li>0123,456.789 <b class=hilight>(';
    echo 
$Ar->arNum('0123,456.789');
    echo 
')</b></li>';

    echo 
'</ul>';
?>


  • George Bush (جورج بوش)
  • Paul Wolfowitz (باول وولفوويتز)
  • Silvio Berlusconi (سيلفيو برلوسكوني)
  • Guantanamo (غوانتانامو)
  • Arizona (اريزونه)
  • Maryland (ماريلاند)
  • Oracle (اوراكل)
  • Yahoo (ياهو)
  • Google (غوغل)
  • Formula1 (فورمولا1)
  • Boeing (بوينغ)
  • Caviar (كافيار)
  • Telephone (تلفون)
  • Internet (انترنت)
  • 0123,456.789 (٠١٢٣,٤٥٦.٧٨٩)
The man who can smile when things go wrong has thought of someone he can blame it on.
الرجل الذي يستطيع الإبتسام حين تسوء الأمور لديه فكرة عن من يستطيع أن يلومه على ذلك
Index | Features | ArPHP Project | Useful Links | Download | PHP4!!!

Copyright © 2006 - 2021 Khaled Al-Sham'aa. All Rights Reserved | Sourceforge.net | GitHub.com | Terms Of Use

 

  If not now when? If not you and me who else? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟