continents.php
5 years ago
countries-extra.php
5 years ago
countries.php
5 years ago
currencies.php
5 years ago
languages-to-countries.php
5 years ago
languages.php
5 years ago
languages-to-countries.php
61 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Matomo - free/libre analytics platform |
| 4 | * |
| 5 | * @link https://matomo.org |
| 6 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Language to Country mapping |
| 11 | * |
| 12 | * This list is used to guess the visitor's country when the region is |
| 13 | * not specified in the first language tag. Inclusion/exclusion is |
| 14 | * based on Piwik.org visitor statistics and probability of disambiguation. |
| 15 | * (Notably, "en" and "zh" are excluded.) |
| 16 | * |
| 17 | * If you want to add a new entry, please email us at hello at piwik.org |
| 18 | */ |
| 19 | return array( |
| 20 | 'bg' => 'bg', // Bulgarian => Bulgaria |
| 21 | 'ca' => 'es', // Catalan => Spain |
| 22 | 'cs' => 'cz', // Czech => Czech Republic |
| 23 | 'da' => 'dk', // Danish => Denmark |
| 24 | 'de' => 'de', // German => Germany |
| 25 | 'el' => 'gr', // Greek => Greece |
| 26 | 'es' => 'es', // Spanish => Spain |
| 27 | 'et' => 'ee', // Estonian => Estonia |
| 28 | 'fa' => 'ir', // Farsi => Iran |
| 29 | 'fi' => 'fi', // Finnish => Finland |
| 30 | 'fr' => 'fr', // French => France |
| 31 | 'he' => 'il', // Hebrew => Israel |
| 32 | 'hr' => 'hr', // Croatian => Croatia |
| 33 | 'hu' => 'hu', // Hungarian => Hungary |
| 34 | 'id' => 'id', // Indonesian => Indonesia |
| 35 | 'is' => 'is', // Icelandic => Iceland |
| 36 | 'it' => 'it', // Italian => Italy |
| 37 | 'ja' => 'jp', // Japanese => Japan |
| 38 | 'ko' => 'kr', // Korean => South Korea |
| 39 | 'lt' => 'lt', // Lithuanian => Lithuania |
| 40 | 'lv' => 'lv', // Latvian => Latvia |
| 41 | 'mk' => 'mk', // Macedonian => Macedonia |
| 42 | 'ms' => 'my', // Malay => Malaysia |
| 43 | 'nb' => 'no', // Bokmål => Norway |
| 44 | 'nl' => 'nl', // Dutch => Netherlands |
| 45 | 'nn' => 'no', // Nynorsk => Norway |
| 46 | 'no' => 'no', // Norwegian => Norway |
| 47 | 'pl' => 'pl', // Polish => Poland |
| 48 | 'pt' => 'pt', // Portuguese => Portugal |
| 49 | 'ro' => 'ro', // Romanian => Romania |
| 50 | 'ru' => 'ru', // Russian => Russia |
| 51 | 'sk' => 'sk', // Slovak => Slovakia |
| 52 | 'sl' => 'si', // Slovene => Slovenia |
| 53 | 'sq' => 'al', // Albanian => Albania |
| 54 | 'sr' => 'rs', // Serbian => Serbia |
| 55 | 'sv' => 'se', // Swedish => Sweden |
| 56 | 'th' => 'th', // Thai => Thailand |
| 57 | 'bo' => 'cn', // Tibetan => China |
| 58 | 'tr' => 'tr', // Turkish => Turkey |
| 59 | 'uk' => 'ua', // Ukrainian => Ukraine |
| 60 | ); |
| 61 |