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.

App Configuration panel ignores user defined language

See original GitHub issue

Home Assistant Android version: 2.4.1.-full

Android version: 8.0.0

Phone model: SM-G930F

Home Assistant version: Latest dev (0.116.0)

Last working Home Assistant release (if known):

Description of problem: The user logged into the app has its language set to English, which is generally adhered to in the app, with the exception of the “App Configuration” panel where everything is still in German (language of the mobile phone itself).

Possibly related: The exposed sensors from the phone also use a German name in HA.

Traceback (if applicable):


Screenshot of problem:

Additional information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ekt-commented, Oct 16, 2020

My opinion is that

  • the sensor name should respect the phone system language
  • the entity id should NOT be translated, and (at least by default) always named in english

image

The rational behind it is that the former is something that belong to the user experience, the UI. The latter is what will be used by scripts; it is part of the ‘hassio programming language’ and that would be really awkward to see it in spanish or italian.

If you are not happy with the above arbitrary decision, I think that it should be possible to at least allow the user to specify how he wants the sensors to be named. I think the proper time would be when the user logs on in the mobile app:

image

At this stage the integration has not yet been created, so it should be a proper time to ask.

2reactions
skandalfocommented, Oct 6, 2020

In my case it’s quite annoying that entity ids for sensors in the mobile app get translated to Spanish (what we got in our phones), while everything else from integrations get English entity ids.

To my best knowledge non-mobile-app integrations use English entity ids for sensors, and even English friendly names for them. If they need to be translated at all, the entity ids should use a consistent language to the one used by the HA install, rather than being device-dependent.

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Defined Languages - Notepad++ User Manual
The Languages menu on the menu-bar includes the list of built-in languages, and below those are a separator followed by Define Your Language…...
Read more >
CONNECTION Client ignores language settings
Hi,. why CONNECTION client, despite of English version was installed, still uses Czech GUI for login? (the rest is in English).
Read more >
Customize language setup and settings for Office 2016
Specify which languages to install on users' computers, regardless of the language of the operating system, which is specified by user locale.
Read more >
User and Workspace Settings - Visual Studio Code
Another way to customize your editor by language is by running the global command Preferences: Configure Language Specific Settings (command ID: workbench.
Read more >
Settings | JetBrains Fleet Documentation
Workspace settings – settings specified for a particular folder. ... User settings apply everywhere, except for workspaces that have their ...
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