]>
git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - webapp/backend/countries.py
8 "AE" : _("United Arab Emirates"),
9 "AF" : _("Afghanistan"),
10 "AG" : _("Antigua and Barbuda"),
11 "AI" : _("Aanguilla"),
15 "AQ" : _("Antarctica"),
16 "AR" : _("Argentina"),
17 "AS" : _("American Samoa"),
19 "AU" : _("Australia"),
21 "AX" : _("Åland Islands"),
22 "AZ" : _("Azerbaijan"),
23 "BA" : _("Bosnia and Herzegovina"),
25 "BD" : _("Bangladesh"),
27 "BF" : _("Burkina Faso"),
32 "BL" : _("Saint Barthélemy"),
34 "BN" : _("Brunei Darussalam"),
35 "BO" : _("Plurinational State of Bolivia"),
36 "BQ" : _("Sint Eustatius and Saba Bonaire"),
40 "BV" : _("Bouvet Island"),
45 "CC" : _("Cocos (Keeling) Islands"),
46 "CD" : _("The Democratic Republic of the Congo"),
47 "CF" : _("Central African Republic"),
49 "CH" : _("Switzerland"),
50 "CI" : _("Côte d'Ivoire"),
51 "CK" : _("Cook Islands"),
56 "CR" : _("Costa Rica"),
58 "CV" : _("Cape Verde"),
60 "CX" : _("Chrismas Islands"),
62 "CZ" : _("Czech Republic"),
67 "DO" : _("Dominican Republic"),
72 "EH" : _("Western Sahara"),
78 "FK" : _("Falkland Islands (Malvinas)"),
79 "FM" : _("Federated States of Micronesia"),
80 "FO" : _("Faroe Islands"),
83 "GB" : _("United Kingdom"),
86 "GF" : _("French Guiana"),
89 "GI" : _("Gibraltar"),
90 "GL" : _("Greenland"),
93 "GP" : _("Guadeloupe"),
94 "GQ" : _("Equatorial Guinea"),
96 "GS" : _("South Georgia and the South Sandwich Islands"),
97 "GT" : _("Guatemala"),
99 "GW" : _("Guinea-Bissau"),
101 "HK" : _("Hong Kong"),
102 "HM" : _("Heard Island and McDonald Islands"),
103 "HN" : _("Honduras"),
107 "ID" : _("Indonesia"),
110 "IM" : _("Isle of Man"),
112 "IO" : _("British Indian Ocean Territory"),
114 "IR" : _("Islamic Republic of Iran"),
122 "KG" : _("Kyrgyzstan"),
123 "KH" : _("Cambodia"),
124 "KI" : _("Kiribati"),
126 "KN" : _("Saint Kitts and Nevis"),
127 "KP" : _("Democratic People's Republic of Korea"),
128 "KR" : _("Republic of Korea"),
130 "KY" : _("Cayman Islands"),
131 "KZ" : _("Kazakhstan"),
132 "LA" : _("Lao People's Democratic Public"),
134 "LC" : _("Saint Lucia"),
135 "LI" : _("Liechtenstein"),
136 "LK" : _("Sri Lanka"),
139 "LT" : _("Lithuania"),
140 "LU" : _("Luxembourg"),
145 "MD" : _("Republic of Moldova"),
146 "ME" : _("Montenegro"),
147 "MF" : _("Saint Martin (French Part)"),
148 "MG" : _("Madagascar"),
149 "MH" : _("Marshall Islands"),
150 "MK" : _("The former Yugoslav Republic of Macedonia"),
153 "MN" : _("Mongolia"),
155 "MP" : _("Northern Mariana Islands"),
156 "MQ" : _("Martinique"),
157 "MR" : _("Mauritania"),
158 "MS" : _("Montserrat"),
160 "MU" : _("Mauritius"),
161 "MV" : _("Maldives"),
164 "MY" : _("Malaysia"),
165 "MZ" : _("Mozambique"),
167 "NC" : _("New Caledonia"),
169 "NF" : _("Norfolk Island"),
171 "NI" : _("Nicaragua"),
172 "NL" : _("Netherlands"),
177 "NZ" : _("New Zealand"),
181 "PF" : _("French Polynesia"),
182 "PG" : _("Papua New Guinea"),
183 "PH" : _("Philipplines"),
184 "PK" : _("Pakistan"),
186 "PM" : _("Saint Pierre and Miquelon"),
187 "PN" : _("Pitcairn"),
188 "PR" : _("Puerto Rico"),
189 "PS" : _("Palestinian Territory, occupied"),
190 "PT" : _("Portugal"),
192 "PY" : _("Paraguay"),
197 "RU" : _("Russian Federation"),
199 "SA" : _("Saudi Arabia"),
200 "SB" : _("Solomon Islands"),
201 "SC" : _("Seychelles"),
204 "SG" : _("Singapore"),
205 "SH" : _("Saint Helena, Ascension and Tristan Da Cunha"),
206 "SI" : _("Slovenia"),
207 "SJ" : _("Svalbard and Jan Mayen"),
208 "SK" : _("Slovakia"),
209 "SL" : _("Sierra Leone"),
210 "SM" : _("San Marino"),
213 "SR" : _("Suriname"),
214 "SS" : _("South Sudan"),
215 "ST" : _("Sao Tome and Principe"),
216 "SV" : _("El Salvador"),
217 "SX" : _("Sint Maarten (Dutch Part)"),
218 "SY" : _("Syrian Arab Republic"),
219 "SZ" : _("Swaziland"),
220 "TC" : _("Turks and Caicos Islands"),
222 "TF" : _("French Southern Territories"),
224 "TH" : _("Thailand"),
225 "TJ" : _("Tajikistan"),
227 "TL" : _("Timor-Leste"),
228 "TM" : _("Turkmenistan"),
232 "TT" : _("Trinidad and Tobago"),
234 "TW" : _("Taiwan, Province of China"),
235 "TZ" : _("United Republic of Tanzania"),
238 "UM" : _("Unites States minor outlying islands"),
239 "US" : _("Unites States"),
241 "UZ" : _("Uzbekistan"),
242 "VA" : _("Vatican City State"),
243 "VC" : _("Saint Vincent and the Grenadines"),
244 "VE" : _("Bolivarian Republic of Venezuela"),
245 "VG" : _("Virgin Islands, British"),
246 "VI" : _("Virgin Islands, U.S."),
247 "VN" : _("Viet Nam"),
249 "WF" : _("Wallis and Futuna"),
253 "ZA" : _("South Africa"),
255 "ZW" : _("Zimbabwe"),
258 def get_by_code(code
):
259 return country_list
.get(code
, None)
261 def get_all(locale
=None):
263 l
= country_list
.keys()
267 for c
in country_list
.keys():
268 c
= locale
.translate(c
)
271 # Sort list in place.