home-assistant-neerslag-app icon indicating copy to clipboard operation
home-assistant-neerslag-app copied to clipboard

How can I change the language?

Open bduijnhouwer opened this issue 3 years ago • 2 comments

I have seen that there exists an nl.json and an en.json How can I change the language from Dutch to English?

bduijnhouwer avatar Aug 28 '21 05:08 bduijnhouwer

It uses the language settings of Home Assistant. In regards to the Neerslag App, the front-end Neerslag Card doesn't make use of any translations yet. It has been hard-coded in Dutch.

I can imagine displaying other languages could be useful. I will make a feature request out of this.

aex351 avatar Aug 28 '21 10:08 aex351

The Neerslag App now supports localization. The Neerslag Card will use the language as set in Home Assistant. If this is not set then the browser language will be used.

I have added support for the English language. Currently Dutch remains the primary language. If for some reason a translation is unavailable in English or any other language, the Neerslag Card will default back to Dutch.

Based on requests I can see future possibilities:

  • Manually set the language;
  • Support more languages.

aex351 avatar Aug 30 '21 23:08 aex351