Add hint to refresh browser cache (#1055)

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
Dave T 2021-09-12 07:46:58 +01:00 committed by GitHub
parent 4bbf81ef73
commit 11b1b0cf56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,8 @@ In order to test changes to translation files, the translation strings must be c
python3 -m script.translations develop python3 -m script.translations develop
``` ```
If translations do not show, clear the browser cache (cmd + R (for MacOS), ctrl + F5 (Windows and Linux))
### Introducing new strings ### Introducing new strings
To introduce new strings, add them to `strings.json` or to a platform strings file. Try to use as many references to common strings as possible. Common strings live in `homeassistant/strings.json`. You can refer to those translations using references. For example: To introduce new strings, add them to `strings.json` or to a platform strings file. Try to use as many references to common strings as possible. Common strings live in `homeassistant/strings.json`. You can refer to those translations using references. For example: