Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for different languages #4

Open
muzzwood opened this issue May 6, 2022 · 5 comments
Open

Support for different languages #4

muzzwood opened this issue May 6, 2022 · 5 comments
Labels
feature-request New feature or request

Comments

@muzzwood
Copy link

muzzwood commented May 6, 2022

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 muzzwood added the feature-request New feature or request label May 6, 2022
@DB-db-dron
Copy link
Owner

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.

@muzzwood
Copy link
Author

muzzwood commented May 7, 2022

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! :)

@DB-db-dron
Copy link
Owner

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. 🙂

@rogadev
Copy link

rogadev commented May 7, 2022

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.

@DB-db-dron
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants