question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Frontend always uses English

See original GitHub issue

Installation details

Description Value
HACS version 1.11.2
Home Assistant version 2021.2.3
Installation method for HA supported supervised
Web browser Opera/Android companion app
Web browser version 74/2021.1.1-full

Checklist

Describe the issue

HACS frontend always uses English regardless of the language selected in the user profile. Clearing browser cache doesn’t help.

Steps to reproduce

  1. Go to user profile and change language
  2. Go to HACS
  3. Clear browser cache

Screenshots

image

image

Javascript logs from your browser console

Logs
2021-02-13 12:01:11 DEBUG (MainThread) [custom_components.hacs] Configuration type: flow
2021-02-13 12:01:11 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)

Version: 1.11.2
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------

2021-02-13 12:01:11 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.WEBSOCKET
2021-02-13 12:01:11 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.FRONTEND
2021-02-13 12:01:11 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.CATEGORIES
2021-02-13 12:01:11 INFO (MainThread) [custom_components.hacs] HACS is enabled

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bieniucommented, Feb 13, 2021

I had to check verbose option.

service_worker.js:1 Fetch finished loading: GET "https://REDACTED/hacs/entry".
v @ service_worker.js:1
async function (async)
v @ service_worker.js:1
_getFromNetwork @ service_worker.js:1
handle @ service_worker.js:1
handleRequest @ service_worker.js:1
(anonymous) @ service_worker.js:1
service_worker.js:1 Fetch finished loading: GET "https://REDACTED/hacsfiles/iconset.js".
v @ service_worker.js:1
async function (async)
v @ service_worker.js:1
_getFromNetwork @ service_worker.js:1
handle @ service_worker.js:1
handleRequest @ service_worker.js:1
(anonymous) @ service_worker.js:1
app.645d69e3.js:43690 Fetch finished loading: GET "https://REDACTED/static/translations/pl-22f1a095e67594536decaf413136710c.json".
(anonymous) @ app.645d69e3.js:43690
$ @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:46562
(anonymous) @ app.645d69e3.js:46562
app.645d69e3.js:43690 Fetch finished loading: GET "https://REDACTED/static/translations/lovelace/pl-22f1a095e67594536decaf413136710c.json".
(anonymous) @ app.645d69e3.js:43690
$ @ app.645d69e3.js:43690
_loadFragmentTranslations @ app.645d69e3.js:43690
panelUrlChanged @ app.645d69e3.js:43690
value @ app.645d69e3.js:46562
performUpdate @ app.645d69e3.js:12471
_enqueueUpdate @ app.645d69e3.js:12471
async function (async)
_enqueueUpdate @ app.645d69e3.js:12471
requestUpdateInternal @ app.645d69e3.js:12471
set @ app.645d69e3.js:12471
value @ app.645d69e3.js:46562
async function (async)
value @ app.645d69e3.js:46562
handleEvent @ app.645d69e3.js:12471
__boundHandleEvent @ app.645d69e3.js:12471
x @ app.645d69e3.js:12471
E @ app.645d69e3.js:12471
w @ app.645d69e3.js:12471
(anonymous) @ app.645d69e3.js:12471
_propertiesChanged @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_invalidateProperties @ app.645d69e3.js:12471
_setProperty @ app.645d69e3.js:12471
Object.defineProperty.set @ app.645d69e3.js:12471
_locationChanged @ app.645d69e3.js:42704
D @ app.645d69e3.js:12471
w @ app.645d69e3.js:12471
_ @ app.645d69e3.js:12471
_propertiesChanged @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_invalidateProperties @ app.645d69e3.js:12471
(anonymous) @ app.645d69e3.js:12471
_propertiesChanged @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_invalidateProperties @ app.645d69e3.js:12471
_setProperty @ app.645d69e3.js:12471
Object.defineProperty.set @ app.645d69e3.js:12471
paramsStringChanged @ app.645d69e3.js:42704
k @ app.645d69e3.js:12471
w @ app.645d69e3.js:12471
_ @ app.645d69e3.js:12471
_propertiesChanged @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
__enableOrFlushClients @ app.645d69e3.js:12471
_flushClients @ app.645d69e3.js:12471
_propertiesChanged @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_invalidateProperties @ app.645d69e3.js:12471
_setProperty @ app.645d69e3.js:12471
Object.defineProperty.set @ app.645d69e3.js:12471
__computeRoutePath @ app.645d69e3.js:43690
D @ app.645d69e3.js:12471
w @ app.645d69e3.js:12471
_ @ app.645d69e3.js:12471
_propertiesChanged @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
_flushProperties @ app.645d69e3.js:12471
ready @ app.645d69e3.js:12471
ready @ app.645d69e3.js:12471
ready @ app.645d69e3.js:12471
ready @ app.645d69e3.js:12471
ready @ app.645d69e3.js:12471
ready @ app.645d69e3.js:12471
_enableProperties @ app.645d69e3.js:12471
connectedCallback @ app.645d69e3.js:12471
connectedCallback @ app.645d69e3.js:12471
connectedCallback @ app.645d69e3.js:12471
connectedCallback @ app.645d69e3.js:12471
H.render @ app.645d69e3.js:12471
update @ app.645d69e3.js:12471
performUpdate @ app.645d69e3.js:12471
_enqueueUpdate @ app.645d69e3.js:12471
async function (async)
_enqueueUpdate @ app.645d69e3.js:12471
requestUpdateInternal @ app.645d69e3.js:12471
initialize @ app.645d69e3.js:12471
initialize @ app.645d69e3.js:12471
C @ app.645d69e3.js:12471
H @ app.645d69e3.js:12471
F @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:43690
xe @ app.645d69e3.js:43690
(anonymous) @ app.645d69e3.js:46562
r @ app.645d69e3.js:46450
finisher @ app.645d69e3.js:12471
runClassFinishers @ app.645d69e3.js:46450
(anonymous) @ app.645d69e3.js:46450
(anonymous) @ app.645d69e3.js:46450
(anonymous) @ app.645d69e3.js:46562
(anonymous) @ app.645d69e3.js:46562
Show 46 more frames
chunk.117a33ac58b4dc248de2.js:1 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
value @ chunk.117a33ac58b4dc248de2.js:1
value @ chunk.117a33ac58b4dc248de2.js:1
performUpdate @ app.645d69e3.js:12471
_enqueueUpdate @ app.645d69e3.js:12471
6[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
1reaction
bieniucommented, Feb 13, 2021

No errors in browser console.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poll Results: "front-end" and "front end" | CSS-Tricks
The term “front-end” is correct when used as a compound adjective, and the term “front end” is correct when used as a noun....
Read more >
Top 10 Frontend Languages - Back4App Blog
This article explains the best ten front-end languages. The list includes React, Javascript, CSS, HTML, Vue, Elm, etc.
Read more >
How can I have admin language English and frontend ...
First go to Administration - Configuration - Regional and language - Languages - Detection and selection tab and make sure to have “Account ......
Read more >
What Does a Front-End Developer Do? - Coursera
A front-end developer creates websites and applications using web languages such as HTML, CSS, and JavaScript that allow users to access and ...
Read more >
Front End vs. Back End Development | Flatiron School
Front End development uses front-end programming languages to create what the user sees in a browser; Back End development uses back-end ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found