Skip to content

Instantly share code, notes, and snippets.

@stoll
Created October 21, 2023 13:36
Show Gist options
  • Save stoll/f978b8ac903bd408290747a07b140f10 to your computer and use it in GitHub Desktop.
Save stoll/f978b8ac903bd408290747a07b140f10 to your computer and use it in GitHub Desktop.
PHP array of all Swiss cantons (in German, French, Italian, Romanian, and English)
<?php
return [
"AG" => [
"name" => [
"de" => "Aargau",
"fr" => "Argovie",
"it" => "Argovia",
"rm" => "Argovia",
"en" => "Argovia",
],
],
"AI" => [
"name" => [
"de" => "Appenzell Innerrhoden",
"fr" => "Appenzell Rhodes-Intérieures",
"it" => "Appenzello Interno",
"rm" => "Appenzell dadens",
"en" => "Appenzell Inner-Rhodes",
],
],
"AR" => [
"name" => [
"de" => "Appenzell Ausserrhoden",
"fr" => "Appenzell Rhodes-Extérieures",
"it" => "Appenzello Esterno",
"rm" => "Appenzell dador",
"en" => "Appenzell Outer-Rhodes",
],
],
"BE" => [
"name" => [
"de" => "Bern",
"fr" => "Berne",
"it" => "Berna",
"rm" => "Berna",
"en" => "Berne",
],
],
"BL" => [
"name" => [
"de" => "Basel-Landschaft",
"fr" => "Bâle-Campagne",
"it" => "Basilea Campagna",
"rm" => "Basilea-Champagna",
"en" => "Basle-Country",
],
],
"BS" => [
"name" => [
"de" => "Basel-Stadt",
"fr" => "Bâle-Ville",
"it" => "Basilea Città",
"rm" => "Basilea-Citad",
"en" => "Basle-City",
],
],
"FR" => [
"name" => [
"de" => "Freiburg",
"fr" => "Fribourg",
"it" => "Friburgo",
"rm" => "Friburg",
"en" => "Fribourg",
],
],
"GE" => [
"name" => [
"de" => "Genf",
"fr" => "Genève",
"it" => "Ginevra",
"rm" => "Genevra",
"en" => "Geneva",
],
],
"GL" => [
"name" => [
"de" => "Glarus",
"fr" => "Glaris",
"it" => "Glarona",
"rm" => "Glaruna",
"en" => "Glaris",
],
],
"GR" => [
"name" => [
"de" => "Graubünden",
"fr" => "Grisons",
"it" => "Grigioni",
"rm" => "Grischun",
"en" => "Grisons",
],
],
"JU" => [
"name" => [
"de" => "Jura",
"fr" => "Jura",
"it" => "Giura",
"rm" => "Giura",
"en" => "Jura",
],
],
"LU" => [
"name" => [
"de" => "Luzern",
"fr" => "Lucerne",
"it" => "Lucerna",
"rm" => "Lucerna",
"en" => "Lucerne",
],
],
"NE" => [
"name" => [
"de" => "Neuenburg",
"fr" => "Neuchâtel",
"it" => "Neuchâtel",
"rm" => "Neuchâtel",
"en" => "Neuchâtel",
],
],
"NW" => [
"name" => [
"de" => "Nidwalden",
"fr" => "Nidwald",
"it" => "Nidvaldo",
"rm" => "Sutsilvania",
"en" => "Nidwald",
],
],
"OW" => [
"name" => [
"de" => "Obwalden",
"fr" => "Obwald",
"it" => "Obvaldo",
"rm" => "Sursilvania",
"en" => "Obwald",
],
],
"SG" => [
"name" => [
"de" => "St. Gallen",
"fr" => "Saint-Gall",
"it" => "San Gallo",
"rm" => "Son Gagl",
"en" => "St. Gall",
],
],
"SH" => [
"name" => [
"de" => "Schaffhausen",
"fr" => "Schaffhouse",
"it" => "Sciaffusa",
"rm" => "Schaffusa",
"en" => "Schaffhouse",
],
],
"SO" => [
"name" => [
"de" => "Solothurn",
"fr" => "Soleure",
"it" => "Soletta",
"rm" => "Soloturn",
"en" => "Soleure",
],
],
"SZ" => [
"name" => [
"de" => "Schwyz",
"fr" => "Schwytz",
"it" => "Svitto",
"rm" => "Sviz",
"en" => "Schwyz",
],
],
"TG" => [
"name" => [
"de" => "Thurgau",
"fr" => "Thurgovie",
"it" => "Turgovia",
"rm" => "Turgovia",
"en" => "Thurgovia",
],
],
"TI" => [
"name" => [
"de" => "Tessin",
"fr" => "Tessin",
"it" => "Ticino",
"rm" => "Tessin",
"en" => "Ticino",
],
],
"UR" => [
"name" => [
"de" => "Uri",
"fr" => "Uri",
"it" => "Uri",
"rm" => "Uri",
"en" => "Uri",
],
],
"VD" => [
"name" => [
"de" => "Waadt",
"fr" => "Vaud",
"it" => "Vaud",
"rm" => "Vad",
"en" => "Vaud",
],
],
"VS" => [
"name" => [
"de" => "Wallis",
"fr" => "Valais",
"it" => "Vallese",
"rm" => "Vallais",
"en" => "Valais",
],
],
"ZG" => [
"name" => [
"de" => "Zug",
"fr" => "Zoug",
"it" => "Zugo",
"rm" => "Zug",
"en" => "Zug",
],
],
"ZH" => [
"name" => [
"de" => "Zürich",
"fr" => "Zurich",
"it" => "Zurigo",
"rm" => "Turitg",
"en" => "Zurich",
],
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment