DownloadContinent names in 17 languages
Converts continent code to full name in 17 languages (and/or script variations).
-
Arabic (????)
-
Czech (?e?tina)
-
German (Deutsch)
-
Danish (dansk)
-
English
-
Spanish (Español)
-
French (français)
-
Hebrew (???????)
-
Italian (italiano)
-
Japanese (???)
-
Dutch (Nederlands)
-
Portuguese (Português)
-
Russian (???????)
-
Slovak (sloven?ina)
-
Chinese simplified (????)
-
Chinese traditional (????)
-
Welsh (Cymraeg)
Usage
use peterkahl\Continent\Continent;
# These are examples of COUNTRY CODE >>> CONTINENT CODE
echo Continent::Country2ContinentCode('cn'); # AS (China is in Asia)
echo Continent::Country2ContinentCode('HU'); # EU (Hungary is in Europe)
# These are examples of CONTINENT CODE >>> CONTINENT NAME
echo Continent::getContinentName('as', 'he'); # ???????
echo Continent::getContinentName('EU', 'ru'); # ??????
echo Continent::getContinentName('af', 'zh-tw'); # ??
echo Continent::getContinentName('sa', 'cy'); # Sydamerika
|