r-renato / ha-card-weather-conditions

Weather condition card (Lovelace) for Home Assistant.
MIT License
191 stars 37 forks source link

How to change translations #72

Open Houdoe opened 3 years ago

Houdoe commented 3 years ago

I changed the nl.json in the transl directory. However, the changes weren't displayed. What to do?

Proposal:

{
  "cwcLocWindDirections": {
    "N": "N",
    "NNE": "NNO",
    "NE": "NO",
    "ENE": "ONO",
    "E": "O",
    "ESE": "OZO",
    "SE": "ZO",
    "SSE": "ZZO",
    "S": "Z",
    "SSW": "ZZW",
    "SW": "ZW",
    "WSW": "WZW",
    "W": "W",
    "WNW":  "WNW",
    "NW": "NW",
    "NNW": "NNW"
  },

  "cwcTerms": {
    "Feels Like": "Voelt Als",
    "new_moon": "Nieuwe maan",
    "new": "Nieuwe maan",
    "waxing_crescent": "Wassende halve maan",
    "first_quarter": "Eerste kwartier",
    "waxing_gibbous": "Wassende maan",
    "full": "Volle maan",
    "full_moon": "Volle maan",
    "waning_gibbous": "Afnemende maan",
    "third_quarter": "Derde Kwartier",
    "last_quarter": "Laatste Kwartier",
    "waning_crescent": "Afnemende halve maan"
  }
}
MHerweijer commented 2 years ago

I have the same "issue". I changed the nl.json file in www/community/ha-card-weather-conditions/transl/ but I still see the old translations. Rebooting HA does not solve it.