Example Output:

Peace   سلام   שלום   Hasîtî   शान्ति  Barış   和平  Мир

English:
Say Peace in all languages! The people of the world prefer peace to war and they deserve to have it. Bombs are not needed to solve international problems when they can be solved just as well with respect and communication. The Internet Internationalization (I18N) community, which values diversity and human life everywhere, offers "Peace" in many languages as a small step in this direction.

Arabic: نص عربي
أنطقوا سلام بكل اللغات! كل شعوب العالم تفضل السلام علي الحرب وكلها تستحق أن تنعم به. إن القنابل لا تحل مشاكل العالم ويتم تحقيق ذلك فقط بالاحترام والتواصل. مجموعة تدويل الإنترنت (I18N) ، والتي تأخذ بعين التقدير الاختلافات الثقافية والعادات الحياتية بين الشعوب، فإنها تقدم "السلام" بلغات كثيرة، كخطوة متواضعة في هذا الاتجاه.

Hebrew:
אמרו "שלום" בכל השפות! אנשי העולם מעדיפים את השלום על-פני המלחמה והם ראויים לו. אין צורך בפצצות כדי לפתור בעיות בין-לאומיות, רק בכבוד ובהידברות. קהילת בינאום האינטרנט (I18N), אשר מוקירה רב-גוניות וחיי אדם בכל מקום, מושיטה יד ל"שלום" בשפות רבות כצעד קטן בכיוון זה.

Some Authors:


Example Code:

<?php
    
require '../../Arabic.php';
    
$Arabic = new I18N_Arabic('Identifier');

    
$pos I18N_Arabic_Identifier::identify($text);

    
$total count($pos);

    echo 
substr($text0$pos[0]);

    for (
$i=0$i<$total$i+=2) {
        echo 
'<span style="BACKGROUND-COLOR: #EEEE80">';
        echo 
substr($text$pos[$i], $pos[$i+1]-$pos[$i]);
        echo 
'</span>';
        echo 
substr($text$pos[$i+1], $pos[$i+2]-$pos[$i+1]);
    }

Total execution time is 0.0020639896392822 seconds
Amount of memory allocated to this script is 399192 bytes

Names of included or required files:

Related Class Documentation