Weather skill does not understand some cities
Steps to reproduce
- Open Dicio
- Ask for the weather in Saint-Étienne, Clermont-Ferrand or any other (french) city with a
-(for example, there are a lot around Paris).
For example, Dicio shows for SaintÉtienne: city not found while Saint-Étienne is available on OpenWeatherMap. I searched a little and found that the punctuation of the city is removed here.
So is there any possibility to avoid removing the dashes?
Originally posted by @AlexanderKocha in #282
Steps to reproduce
- Open Dicio and navigate to weather skill
- Change location to a city with a specific country code like "Newbridge, AU"
- Ask for the weather, the city won't be found
Cities that share a name with a different city in another country cannot be distinguished correctly.
A city, for example, like Newbridge in Australia, would have the OpenWeatherMap code of "Newbridge, AU", however the result in Dicio would be "Newbridge AU" which doesn't match any city name.
This is probably caused by the removal of punctuation in the city string, which is related to #115
Originally posted by @RobotDaniel in #176
When using IP location or when entering city names manually, cities between different countries are chosen
Potentials fixes
- use based on postcode/zip code
- use based on IP location, not just IP city name
Originally posted by @woheller69 in #298
One of the proposed questions is:
"Wie ist das Wetter in Rom?"
If asking exactly this question I get:
"Ich konnte die Stadt Rom? nicht finden."
The "?" probably needs to be stripped off the requested city name.
Tested: if you ask (manually): "Wie ist das Wetter in Rom", without "?" it works