Home AssistantHome AssistantContributors
In code
translation_keystrings.json
Also
translation keys, strings.json

Entity names, states, config flow steps, errors, and exceptions all come from strings.json. The English text in it is uploaded to Lokalise, where the community translates it.