Пример #1
0
 public function testLanguageCode()
 {
     $locale = new CULocale(CULocale::GERMAN_GERMANY);
     $this->assertTrue($locale->languageCode()->equals("de"));
     $locale = new CULocale("EN_US");
     $this->assertTrue($locale->languageCode()->equals("en"));
 }