Configuration form not showing field names for custom component

I’m experimenting with a custom component and followed the tutorial to create a configuration flow entry from here: https://developers.home-assistant.io/docs/data_entry_flow_index/ . I have the exact same code for async_step_user in the “Show Form” section of the page.

The form pops up as expected, but no matter what the field labels don’t appear, the fields are unlabelled. I’m on version 2021.1.0 using the docker image found here: https://hub.docker.com/r/homeassistant/home-assistant

I’m very confused why the labels don’t appear. I have tried changing browsers and machines, reloading the page and restarting HA but none make any difference. Any suggestions?

1 Like

Have you been able to solve that problem ?

You have to copy that string.json file into a .translations folder as en.json for them to show up in the config flow form.

1 Like

I’m having the same problem and have the translation files as well. Stumped. Did you solve it?

Post a link to your code and i will have a look for you

1 Like

I figured it out. The configuration of the entity captured that data in the db so restarting HA didn’t do anything. I had to delete and recreate it. In hindsight it’s probably obvious but I’m very new to HA.
Thanks for offering to help!