Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/**
4
* Using I18Nv2_Country
5
* ====================
6
*
7
* I18Nv2 provides translated lists of country names.
8
*
9
* $Id: using_I18Nv2_Country.php,v 1.1 2004/05/03 15:02:17 mike Exp $
10
*/
11
 
12
require_once 'I18Nv2/Country.php';
13
 
14
$country = &new I18Nv2_Country('de', 'iso-8859-1');
15
 
16
echo "German name for United States: ",
17
    $country->getName('us'), "\n";
18
 
19
echo "German name for Italia:        ",
20
    $country->getName('it'), "\n";
21
 
22
?>