PluginProbe ʕ •ᴥ•ʔ
Matomo Analytics – Powerful, Privacy-First Insights for WordPress / 5.8.2
Matomo Analytics – Powerful, Privacy-First Insights for WordPress v5.8.2
5.11.1 5.11.0 5.10.2 5.10.1 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.3.2 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.10.0 4.11.0 4.12.0 4.13.0 4.13.2 4.13.3 4.13.4 4.13.5 4.14.0 4.14.1 4.14.2 4.15.0 4.15.1 4.15.2 4.15.3 4.2.0 4.3.0 4.3.1 4.4.1 4.4.2 4.5.0 4.6.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.10.0 5.2.0 5.2.1 5.2.2 5.3.0 5.3.1 5.3.2 5.3.3 5.6.0 5.6.1 5.7.0 5.7.1 5.8.0 5.8.1 5.8.2
matomo / app / core / Intl / Data / Resources / languages-to-countries.php
matomo / app / core / Intl / Data / Resources Last commit date
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