weatherDB icon indicating copy to clipboard operation
weatherDB copied to clipboard

Support for different languages

Open muzzwood opened this issue 3 years ago • 5 comments
trafficstars

Describe the solution you'd like Would love to see the results returned in different languages.

An example could be: https://weatherdbi.herokuapp.com/data/weather/fr/newyork or https://weatherdbi.herokuapp.com/data/weather/newyork?lang=fr

muzzwood avatar May 06 '22 14:05 muzzwood

This is a very good suggestion that will be worked on. I would like to know what problem does it solve?

Currently work is in progress for temperature, precipitation and wind forecast. Also we have to move the API to a new hosting because of some problems (mentioned in other issues). So, the language feature may not be added soon.

DB-db-dron avatar May 06 '22 16:05 DB-db-dron

Hi,

I've used your API endpoint for a weather widget on a CMS dashboard. The problem is the CMS can be in any language and it doesn't make sense for the weather data to be in English if everything else isn't. I think this is the only extra feature we need. So in the meantime, I might make it work with openweather as well for multilingual situations. Your API is preferable though due to not needing authentication.

Keep up the good work! :)

muzzwood avatar May 07 '22 07:05 muzzwood

You can leave your email in the contact form in our website, if you wish to be informed when there is a new release. I received your message there, but you didn't provide any email. It is totally up to you, not compulsory. 🙂

DB-db-dron avatar May 07 '22 08:05 DB-db-dron

There are some very good translation API's out there that I might encourage you to work with, @muzzwood. This way you're still using the same dataset and translating it as needed, on-demand. Rather than the whole API being restructured to support it. But certainly at some point I'm sure multiple language support build in native to the API would be a great feature. Meanwhile, I might recommend a translation API. Especially considering it's just a few words, not long and complicated phrases.

rogadev avatar May 07 '22 18:05 rogadev

@rogadev I will look into it. Thanks for sharing your suggestion.

DB-db-dron avatar May 08 '22 09:05 DB-db-dron