cvs: pear /I18N/examples I18N_Message.php
| From: | Wolfram Kriesing | Date: | Fri, 22 Feb 2002 10:40:50 +0000 |
| Subject: | cvs: pear /I18N/examples I18N_Message.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2557@lists.php.net to get a copy of this message | ||
cain Fri Feb 22 05:40:50 2002 EDT
Modified files:
/pear/I18N/examples I18N_Message.php
Log:
- added example for detecting italian
Index: pear/I18N/examples/I18N_Message.php
diff -u pear/I18N/examples/I18N_Message.php:1.1 pear/I18N/examples/I18N_Message.php:1.2
--- pear/I18N/examples/I18N_Message.php:1.1 Tue Feb 12 12:29:09 2002
+++ pear/I18N/examples/I18N_Message.php Fri Feb 22 05:40:50 2002
@@ -11,9 +11,11 @@
$strings[] = 'This is a test for all of you out there';
$strings[] = 'Das ist ein Test für euch alle da draussen.';
$strings[] = 'Esto es una prueba para todos vosotros ahi.';
+ // i just copied that from an italian page of a friend :-) but i have no idea what it means
+ $strings[] = 'Due spiaggie e il porto sono raggiungibili comodamente a piedi.';
foreach( $strings as $aString )
- print "<b>$aString</b> --- seems to be of the language:
".I18N_Messages_Common::get($aString).'<br>';
+ print "<b>$aString</b> --- seems to be of the language:
".I18N_Messages_Common::determineLanguage($aString).'<br>';
/**