Closed wellemut closed 1 year ago
@wellemut I use address-formatter with country code 'DE'. it's the standard library for formatting addresses. please check again. if it still does not satisfies you then I will have to write a manual script, which would not be a good practice.
Not working yet on https://dev.kartevonmorgen.org/m/main/e/02e3e0d0f89940bc9112bf3ecb0f33bc?c=46.9356%2C7.5520&z=16.00&search=radiesli
Order of Adress is still the same and dev frontend keeps reloading all the time.
street Nr, zip city, [state, country]
I fixed that. the problem was the street is named road, and zip is named postcode in the formatter. @wellemut just an idea, do you like to make the formatter dependant on the locale or just set it to always DE. for example I can set the US format for the en locale
That is great now! https://dev.kartevonmorgen.org/m/main/e/02e3e0d0f89940bc9112bf3ecb0f33bc?c=46.9356%2C7.5520&z=16.00&search=radiesli+
This way solves 95 of all usecases, I guess. If it is easy to make it dependent of locale do it, Otherwiese its a feature request in the future...
Th out of shelf library does not support "," in between Street and Zip, so we ignore it.
perfectly deployed
Problem
For Germans, its a weired format which we have currently https://www.kartevonmorgen.org/m/main/e/02e3e0d0f89940bc9112bf3ecb0f33bc?c=46.9356%2C7.5520&z=16.00&search=radiesli+
Solution