Welcome to mirror list, hosted at ThFree Co, Russian Federation.

languages-to-countries.php « Resources « Data « Intl « core - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5278b4fc50b3f9f2e8665a8ba563635179626167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

/**
 * Language to Country mapping
 *
 * This list is used to guess the visitor's country when the region is
 * not specified in the first language tag.  Inclusion/exclusion is
 * based on Piwik.org visitor statistics and probability of disambiguation.
 * (Notably, "en" and "zh" are excluded.)
 *
 * If you want to add a new entry, please email us at hello at piwik.org
 */
return array(
    'bg' => 'bg', // Bulgarian  => Bulgaria
    'ca' => 'es', // Catalan    => Spain
    'cs' => 'cz', // Czech      => Czech Republic
    'da' => 'dk', // Danish     => Denmark
    'de' => 'de', // German     => Germany
    'el' => 'gr', // Greek      => Greece
    'es' => 'es', // Spanish    => Spain
    'et' => 'ee', // Estonian   => Estonia
    'fa' => 'ir', // Farsi      => Iran
    'fi' => 'fi', // Finnish    => Finland
    'fr' => 'fr', // French     => France
    'he' => 'il', // Hebrew     => Israel
    'hr' => 'hr', // Croatian   => Croatia
    'hu' => 'hu', // Hungarian  => Hungary
    'id' => 'id', // Indonesian => Indonesia
    'is' => 'is', // Icelandic  => Iceland
    'it' => 'it', // Italian    => Italy
    'ja' => 'jp', // Japanese   => Japan
    'ko' => 'kr', // Korean     => South Korea
    'lt' => 'lt', // Lithuanian => Lithuania
    'lv' => 'lv', // Latvian    => Latvia
    'mk' => 'mk', // Macedonian => Macedonia
    'ms' => 'my', // Malay      => Malaysia
    'nb' => 'no', // Bokmål     => Norway
    'nl' => 'nl', // Dutch      => Netherlands
    'nn' => 'no', // Nynorsk    => Norway
    'no' => 'no', // Norwegian  => Norway
    'pl' => 'pl', // Polish     => Poland
    'pt' => 'pt', // Portuguese  => Portugal
    'ro' => 'ro', // Romanian   => Romania
    'ru' => 'ru', // Russian    => Russia
    'sk' => 'sk', // Slovak     => Slovakia
    'sl' => 'si', // Slovene    => Slovenia
    'sq' => 'al', // Albanian   => Albania
    'sr' => 'rs', // Serbian    => Serbia
    'sv' => 'se', // Swedish    => Sweden
    'th' => 'th', // Thai       => Thailand
    'bo' => 'cn', // Tibetan    => China
    'tr' => 'tr', // Turkish    => Turkey
    'uk' => 'ua', // Ukrainian  => Ukraine
);