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