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

Alert translation do not work (on my mirror at least) #12

Open
1Cedric1 opened this issue Jan 8, 2025 · 2 comments
Open

Alert translation do not work (on my mirror at least) #12

1Cedric1 opened this issue Jan 8, 2025 · 2 comments

Comments

@1Cedric1
Copy link

1Cedric1 commented Jan 8, 2025

Dear @Tom-Hirschberger

are you sur that the language is really checked by this module when asking open weather?

With this example on Google, the messages are shown in the correct language (in this case FR), so that the provider (meteoswiss) publishes it in FR.
Screenshot_20250108-184305

But on the mirror with this module, it still only appears in EN.
Capture d’écran 2025-01-08 à 19 05 53

Here the confirmation from openweather, that they provide the translated texts.
Capture d’écran 2025-01-08 à 19 10 53

Thanks for your good advise and have a good evening.!

Cédric

@Tom-Hirschberger
Copy link
Owner

Hi,

the module sets the lang to the value configured.
If you set the debug parameter to true you can see the generated url on the console which should contain the language value.

But I can confirm that the weather alerts are not get translated. I noticed this, too as I use the module in German language.

But even if I use the url in the browser not all content is in the correct language. The module uses the values as provided by OpenWeather and does not provide any language translation machnism.

@1Cedric1
Copy link
Author

1Cedric1 commented Jan 9, 2025

hello @Tom-Hirschberger
ok, great, thank you.
I will try and maybe ask openweather to provide the correct languages.
take care,
Cédric

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

No branches or pull requests

2 participants