Translations
Show your S0tool in your own language. Pick a language file, add one line to Home Assistant and every sensor gets a name you can read. Nothing is re-flashed and nothing breaks.
How it works
The S0tool entities are named in Dutch by default, for example Actuele energie and
Totaal opgebracht. The translation files change only the displayed name
(friendly_name) in Home Assistant. The entity IDs stay the same.
Pick your language
Choose a language to get the exact line for your configuration.yaml and a preview of every name.
1. Add this to configuration.yaml
Copy the s0tool_translations folder to your Home Assistant config/ folder first (see Quick start below).
2. Preview
| Entity ID | Default | Your language |
|---|
The language list could not be loaded. Use the download and the language table below instead.
Quick start
- Download the translations and copy the
s0tool_translationsfolder to your Home Assistantconfig/folder. - Add one language to your
configuration.yaml:
homeassistant:
customize: !include s0tool_translations/s0tool_eng.yaml
- Restart Home Assistant, or run Developer tools → YAML → Reload customizations.
To switch language, use another file name. To go back to Dutch, remove the lines.
Available languages
| Language | File |
|---|---|
| Nederlands (default names) | s0tool_nl.yaml |
| English | s0tool_eng.yaml |
| Deutsch | s0tool_de.yaml |
| Français | s0tool_fr.yaml |
Each file translates the same 49 entities: the ESPHome sensors, the version sensors, the template sensors and the utility meters.
Good to know
- Only what you see in Home Assistant changes. The ESPHome web interface of the device (port 80) keeps its names.
- Use one language file at a time. Already have a customize file? Copy the entries you want into it.
- Entities that contain your device name in the ID (
... online sinds,... IP-adres,... Mac-adres) are included as commented examples at the bottom of each file. Adjust them to your device name. - Some views in newer Home Assistant versions, such as the device page, show the entity's own name instead of
friendly_name. Rename the entity under Settings → Entities in that case.
Add your language
Missing your language, or want a better translation? It is a small, friendly contribution:
- Copy
s0tool_eng.yamltos0tool_<code>.yaml, for examples0tool_es.yaml. - Translate the
friendly_namevalues. Do not change the entity IDs (the lines ending in:) or theiconlines. - Keep the first line in this format:
# S0tool - Español (es). - Send a pull request. GitHub checks your file automatically and tells you what to fix.
That is all: this page and the download update themselves on the next site build.
Want to Learn More?
Check out the GitHub repository or join our community: