Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1463 alexandre_ 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 2007-06-25 09:55:25 alexandre_tb 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
?>