Localization fallback for options flow #21700
Unanswered
Shulyaka
asked this question in
Localization
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am developing a custom integration, and I want to dynamically generate options for options flow at runtime. For example, for each home assistant user I would like to configure a nickname.
Because the list of the users is not known in advance, I am not able to write down every name into strings.json and translations/en.json. Unfortunately frontend wants to translate every string and falls back to empty string, so I am not able to label which input field corresponds to which user, they all are shown as empty fields with no label.
Can we make it fallback to the field name if the name is not found in options.step.init.data ?
Beta Was this translation helpful? Give feedback.
All reactions