Comments (7)
I also would like to have the directions translated in Dutch. I' m using Home Assistant in English language because I like the original menu's and messages for troubleshooting.
from compass-card.
Ok, cool, that's actually just easier for me ;-)
- Corrected directions->south from "Süd" to "Süden"
- Added strings for common and editor
{
"common": {
"version": "Version",
"description": "Zeigt einen Kompass mit einem Indikator in Richtung des Entitätswertes an",
"invalid_configuration": "Ungültige Konfiguration",
"no_entity": "Entität nicht konfiguriert",
"offset_not_a_number": "Richtungs-Offset ist keine Zahl",
"invalid": "ungültig",
"on": "An",
"off": "Aus"
},
"editor": {
"name": "Name",
"optional": "Optional",
"entity": "Entität",
"required": "Benötigt",
"primary": "Richtung",
"secondary": "Sekundär",
"indicator": "Indikator",
"direction": "Richtung",
"offset": "Offset",
"show": "Zeige",
"north": "Norden",
"toggle": "Umschalten"
},
"directions": {
"north": "Norden",
"east": "Osten",
"south": "Süden",
"west": "Westen",
"N": "N",
"NNE": "NNO",
"NE": "NO",
"ENE": "ONO",
"E": "O",
"ESE": "OSO",
"SE": "SO",
"SSE": "SSO",
"S": "S",
"SSW": "SSW",
"SW": "SW",
"WSW": "WSW",
"W": "W",
"WNW": "WNW",
"NW": "NW",
"NNW": "NNW"
}
}
from compass-card.
Thanks for your feedback!
I was planning on using the integrated translation in Home Assistant for translation, instead of putting translation in the yaml.
This would work for you when your Home Assistant language is set to German or to automatic and your browser sais to use German. If your configuration page is in German, your good.
I'd like to know if your Home Assistant is in German, and if you use a localized weather integration whether its string direction state has its states in German.
If you could find the time, could you help out translating the strings in this file? Then all stuff will be in German.
from compass-card.
Ok good to know, so i would need to implement a forcing mechanism to pick a language different from the ui for the abbreviations.
from compass-card.
Homeassistant is set to German. My weather integration is "DWD Deutscher Wetterdienst". The integration has no string direction state, only numerical value in degrees:
temperature: 21.5
humidity: 86
pressure: 1009.6
wind_bearing: 261
wind_speed: 1.5
visibility: 10.3
attribution: Data provided by Deutscher Wetterdienst (DWD)
forecast:
- datetime: '2020-08-17'
condition: lightning-rainy
temperature: 22.4
templow: 16.6
precipitation: 7.4
precipitation_probability: 71
- [...]
latest_update_utc: '2020-08-17T10:02:55.370955+00:00'
forecast_time_utc: '2020-08-17T09:00:00+00:00'
station_id: EXXX
station_name: Wetter Zuhause
I've done the German translation, can I push it to dev?
from compass-card.
Thanks a lot for the translation. Please use a pull request, instead of a direct push to dev.
I'm working on getting the abbreviation language independant from the HA language when that is done, the German language will be included in the next release.
from compass-card.
I've done the German translation, can I push it to dev?
If creating a pull request is to much of a hassle, you can post the translation file here too.
from compass-card.
Related Issues (20)
- Wind directions in other languages
- Are these possible? HOT 1
- Are these possible? HOT 1
- Indicator object icon selectable HOT 4
- Templating HOT 1
- Compass abbreviation not hiding and not colored HOT 4
- Second compass ring HOT 5
- Windspeed 0 shows invalid HOT 9
- Two enhancement suggestions
- tap_action HOT 2
- Ability to add labels to indicators HOT 2
- The displayed wind direction does not match the sensor. HOT 2
- Addendum to #864 HOT 6
- Set image ( entity_picture_template ) as indicator type HOT 1
- tap_action navigate HOT 2
- Fontsize Option for a 2nd Value Sensor... HOT 2
- FR: Wind Direction Arrow in center of the card HOT 1
- Image size HOT 2
- This is what I want HOT 1
- Number of decimals shown HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compass-card.