commerceguys / addressing

A PHP addressing library, powered by CLDR and Google's address data.
MIT License
922 stars 135 forks source link

Missing States/Regions for Germany, Switzerland, and Austria in Address Fields #216

Open alexanderbuergin opened 2 months ago

alexanderbuergin commented 2 months ago

Description

It would be very helpful if the address fields in Craft CMS included the states/regions for Germany, Switzerland, and Austria. This would significantly improve the user experience in the DACH region and help avoid errors when handling addresses.

Below, I've provided a list of the respective states/regions, both in German and English, in alphabetical order:

Deutschland Germany English
Baden-Württemberg Baden-Württemberg
Bayern Bavaria
Berlin Berlin
Brandenburg Brandenburg
Bremen Bremen
Hamburg Hamburg
Hessen Hesse
Mecklenburg-Vorpommern Mecklenburg-Western Pomerania
Niedersachsen Lower Saxony
Nordrhein-Westfalen North Rhine-Westphalia
Rheinland-Pfalz Rhineland-Palatinate
Saarland Saarland
Sachsen Saxony
Sachsen-Anhalt Saxony-Anhalt
Schleswig-Holstein Schleswig-Holstein
Thüringen Thuringia
Schweiz German Switzerland English
Aargau Aargau
Appenzell Ausserrhoden Appenzell Ausserrhoden
Appenzell Innerrhoden Appenzell Innerrhoden
Basel-Landschaft Basel-Landschaft
Basel-Stadt Basel-Stadt
Bern Bern
Freiburg Fribourg
Genf Geneva
Glarus Glarus
Graubünden Grisons
Jura Jura
Luzern Lucerne
Neuenburg Neuchâtel
Nidwalden Nidwalden
Obwalden Obwalden
Schaffhausen Schaffhausen
Schwyz Schwyz
Solothurn Solothurn
St. Gallen St. Gallen
Tessin Ticino
Thurgau Thurgau
Uri Uri
Waadt Vaud
Wallis Valais
Zug Zug
Zürich Zurich
Österreich Austria English
Burgenland Burgenland
Kärnten Carinthia
Niederösterreich Lower Austria
Oberösterreich Upper Austria
Salzburg Salzburg
Steiermark Styria
Tirol Tyrol
Vorarlberg Vorarlberg
Wien Vienna

Implementing these states/regions in the address fields would be a great enhancement for Craft CMS users in the DACH region.

Thank you for considering this request!

bojanz commented 2 days ago

I am planning to fix this for the 2.3.0 release, but it will probably have to wait until my Christmas vacation.