r-renato / ha-card-weather-conditions

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

Norwegian language added to repo #63

Closed palengh closed 3 years ago

palengh commented 3 years ago

Hi, there!

I have committed a new language file for Norwegian. Please accept it and update the language list of available languages. Best regards

Pål Engh

r-renato commented 3 years ago

Hi Pål, I don't have any pull request.

palengh commented 3 years ago

Hmmm... I am new to Github. here is my Norwegian translation.

{ "cwcLocWindDirections": { "N": "N", "NNE": "NNØ", "NE": "NØ", "ENE": "ØNØ", "E": "Ø", "ESE": "ØSØ", "SE": "SØ", "SSE": "SSØ", "S": "S", "SSW": "SSV", "SW": "SV", "WSW": "VSV", "W": "V", "WNW": "VNV", "NW": "NV", "NNW": "NNV" },

"cwcTerms": { "Feels Like" : "Føles som", "new_moon": "Nymåne", "new": "Nymåne", "waxing_crescent": "Tiltagende halvmåne", "first_quarter": "Første kvartal", "waxing_gibbous": "Tiltagende måne", "full": "Fullmåne", "waning_gibbous": "Avtagende måne", "third_quarter": "Tredje kvartal", "last_quarter": "Sidste kvartal", "waning_crescent": "Avtagende halvmåne" } }

r-renato commented 3 years ago

Done, you can try to use it.

palengh commented 3 years ago

I see you have used no-NO as language identification for the file. However, "no" is the ISO 639-1 code for Norwegian. And using language: no-NO still displays English text, even after updating the ad-on in HACS.

r-renato commented 3 years ago

Sorry, a little issue fixed with the new released version.

palengh commented 3 years ago

Now it works with language: no-NO :-) Any chance you make it language: no? See above

r-renato commented 3 years ago

I prefer to use the double notation, this simplifies the card configuration.

Thank you, Renato