-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLanguages.cs
100 lines (97 loc) · 4.46 KB
/
Languages.cs
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// <copyright file="Languages.cs" company="FC">
// Copyright (c) 2010 Fraser Chapman
// </copyright>
// <author>Fraser Chapman</author>
// <email>fraser.chapman@gmail.com</email>
// <date>2010-05-</date>
// <summary>This file is part of FC.GEPluginCtrls
// FC.GEPluginCtrls is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
// </summary>
namespace FC.GEPluginCtrls
{
using System.Collections.Generic;
/// <summary>
/// A class to provide the supported language codes
/// Supported language codes are listed in the Google Maps API Coverage document
/// </summary>
public static class Languages
{
// see: http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ
/// <summary>
/// Provides a Dictionary of language codes and native names
/// </summary>
/// <returns>A Dictionary of language codes and native names</returns>
public static Dictionary<string, string> Codes()
{
Dictionary<string, string> list =
new Dictionary<string, string>
{
{ "ar", "العربية" },
{ "eu", "Euskara" },
{ "bg", "български език" },
{ "bn", "বাংলা" },
{ "ca", "Català" },
{ "cs", "ceština" },
{ "da", "Dansk" },
{ "de", "Deutsch" },
{ "el", "ελληνικά" },
{ "en", "English" },
{ "en-AU", "English (AU)" },
{ "en-GB", "English (GB)" },
{ "es", "Español" },
{ "fa", "فارسی" },
{ "fi", "suomi" },
{ "fil", "Filipino" },
{ "fr", "français" },
{ "gl", "Galego" },
{ "gu", "ગુજરાતી" },
{ "hi", "हिन्दी" },
{ "hr", "hrvatski" },
{ "hu", "magyar nyelv" },
{ "id", "Indonesia" },
{ "it", "italiano" },
{ "iw", "עִבְרִית" },
{ "ja", "日本語" },
{ "kn", "ಕನ್ನಡ" },
{ "ko", "한국어" },
{ "lt", "lietuvių" },
{ "lv", "latviešu" },
{ "ml", "മലയാളം" },
{ "mr", "मराठी" },
{ "nl", "Nederlands" },
{ "nn", "Nynorsk" },
{ "no", "norsk" },
{ "or", "ଓଡିଆ" },
{ "pl", "polski" },
{ "pt", "português" },
{ "pt-BR", "português brasileiro" },
{ "rm", "Romansch" },
{ "ro", "română" },
{ "ru", "русский язык" },
{ "sk", "slovenčina" },
{ "sl", "slovenščina" },
{ "sr", "Српски" },
{ "sv", "nysvenska" },
{ "tl", "Tagalog " },
{ "ta", "தமிழ்" },
{ "te", "తెలుగు" },
{ "th", "ภาษาไทย" },
{ "tr", "Türkçe" },
{ "uk", "украї́нська мо́ва" },
{ "vi", "tiếng Việt" },
{ "zh-CN", "简体字" },
{ "zh-TW", "中文" }
};
return list;
}
}
}