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
Localization issue #114
Comments
Can you please check the values of |
Both return null and refreshing (soft and hard) does nothing. |
Forgot to add that this is a manual installation. No HACS |
Hm -- HACS shouldn't have anything to do with it. Can you open your browser dev tools, select the |
Strange, I did it but |
What about $0.tagName? |
|
Ok, that means that you didn't select the right element in the elements tab. You'll want to use the element finder tool (usually in the top left of the dev tools pane) to select something in the hourly weather card, then scroll through the DOM explorer to find the |
Ok, now I selected the right element. Thank you for your help. This is the response from
|
Are there any script errors in your console? The latest version of this card should be looking at If not, is there any chance that your HA instance is exposed to public internet? If you want to give me a temporary user account I can try to debug. Otherwise, I'm kinda stuck without a minimal repro here, as this works fine for me. |
No script errors and my HA istance isn't exposed to internet. Suggestion: can you add a language option in the settings to override the system language? |
@valepe Can you please try version 4.3.0-beta.0 to see if that helps? First, see if it just works due to the refactored logic around getting the HA server language. If not, then you can try setting the new |
Just tryed. The new detection method failed: language reverts to english. Thanks |
Ok, then I think we'll just move forward with this fix. Not sure why it isn't picking up things in your case otherwise -- will be hard to debug without a concrete repro case. |
Checklist:
Release with the issue:
2022.8.6 (HA) - 4.2.4 (Hourly-Weather)
Last working release (if known):
not used before
Browser and Operating System:
Chrome on mac OS and android and Android companion application.
Description of problem:
Issue with the italian localization. The problem is that italian localization already exists but it isn't used in my system and english is used instead (I checked the language selection of my user). So the issue #70 isn't applicable.
Hour format and decimal point are correct.
Javascript errors shown in the web inspector (if applicable):
no errors in console panel
Additional information:
Home Assistant Core running in Docker
The text was updated successfully, but these errors were encountered: