"Weather illustro": Wochentage auf deutsch umstellen  [gelöst]

Anzeigen für deinen Desktop
Antworten
MarioBasa
Beobachter
Beobachter
Beiträge: 2
Registriert: 27.04.2018, 18:17
Gender:

"Weather illustro": Wochentage auf deutsch umstellen

Beitrag von MarioBasa » 27.04.2018, 18:52

Hallo,

Vor kurzem habe ich mir diesen Rainmeter-Skin installiert und bekomme es nicht hin, die Wochentage auf deutsch umzustellen. Den Titel "Weather" habe ich schon auf "Wetter" umgestellt, "Today" ist auch schon auf "Heute" abgeändert und Grad Fahrenheit ist auch schon auf Grad Celsius geändert aber an den Wochentagen verzweifle ich. (Den "LocationCode" habe ich fürs Forum absichtlich entfernt).

In einem anderen Thread habe ich folgenden Code gefunden:

Code: Alles auswählen

Substitute="Monday":"Montag","Tuesday":"Dienstag","Wednesday":"Mittwoch","Thursday":"Donnerstag","Friday":"Freitag","Saturday":"Samstag","Sunday":"Sonntag"
Allerdings weiß ich nicht, ob das der richtige Code ist und, wenn ja, an welcher/n Stellen ich ihn einsetzen muss. Hat einer von euch eine Idee?

Danke,

Mario

Bild:

Code: Alles auswählen

;Weather Status & 3-Day Forecast 

[Rainmeter]
Author=Flash_Johnson
Background=#SKINSPATH#illustro\@Resources\Background.png
BackgroundMode=3
BackgroundMargins=0,34,0,14
;With thanks to moxamax as much of this skin is based on his MoxaWeather 4 day skin.		
;Also thanks to NetSpider, who was the author of the original version

[MetaData]
Name=Weather.com 4 day
Description=Current temp + 3 day forecast from weather.com
License=Creative Commons BY-NC-SA 3.0
Version=2.0.0

[Variables]
;Replace "XXXXX" Below w/ your location code found in the weather.com URL
;TempUnit: F = Fahrenheit, M = Celsius (Metric)
LocationCode=
TempUnit=M
URL=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#TempUnit#&dayf=6
fontName=Calibri
textSize=9
colorBar=235,170,0,255
colorText=255,255,255,205

;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
Debug=1
;--------------------------------

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=20

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

;-------------------------

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=31

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34

;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

;================================================================
[styleTitle]
StringAlign=CENTER
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=11
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=LEFT
;Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1


[styleSeperator]
SolidColor=255,255,255,15

[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15

[meterBackground]
;Meter=IMAGE
;ImageName=#SKINSPATH#illustro\@Resources\Background.png
; #SKINSPATH# is a global variable that stands for your skin path. It is
; usually Documents\Rainmeter\Skins.
;X=0
;Y=0

;====================================================================

[meterTitle]
Meter=STRING
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=14
Text="Wetter"
LeftMouseUpAction=!Execute ["http://www.weather.com/weather/today/#LocationCode#"]


[MeterDate]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=44
W=190
H=14
Text="Heute"

[MeterTemp]
MeterStyle=styleRightText
MeasureName=MeasureWeatherTemp
Meter=STRING
X=148
Y=44
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Postfix="°"



[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=160
Y=33

[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=160
Y=33
Hidden=1
;------------------------- offset Y: +40

[MeterSeperator1]
Meter=IMAGE
MeterStyle=styleSeperator
X=10
Y=63
W=190
H=1

[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=74
W=190
H=14

[MeterTemp1]
MeterStyle=styleRightText
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=148
Y=74
H=14
Postfix="°"

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=160
Y=64
;------------------------- offset Y: +40

[MeterSeperator2]
Meter=IMAGE
MeterStyle=styleSeperator
X=10
Y=94
W=190
H=1

[MeterTemp2]
MeterStyle=styleRightText
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=148
Y=103
H=14
Postfix="°"

[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=103
W=190
H=14

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=160
Y=93
;------------------------- offset Y: +40

[MeterSeperator3]
Meter=IMAGE
MeterStyle=styleSeperator
X=10
Y=124
W=190
H=1

[MeterTemp3]
MeterStyle=styleRightText
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=148
Y=134
H=14
Postfix="°"

[MeterDate3]
MeasureName=MeasureWeatherDate3
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=134
W=190
H=14

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=160
Y=122

[MeterSeperator4]
Meter=IMAGE
MeterStyle=styleSeperator
X=10
Y=152
W=190
H=1

Tante Google

"Weather illustro": Wochentage auf deutsch umstellen

Beitrag von Tante Google » 27.04.2018, 18:52


Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 59670
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 127 Mal
Danke erhalten: 554 Mal
Gender:

Re: "Weather illustro": Wochentage auf deutsch umstellen  [gelöst]

Beitrag von moinmoin » 27.04.2018, 19:04

Erst einmal :willkommen:
Da müsste noch Today:Heute mit in den Code.
Wenn ich es richtig sehe, https://docs.rainmeter.net/manual/measu ... ubstitute/ dann muss es in jeden einzelnen "Measure" Eintrag für jeden einzelnen Tag. Tag 1 Tag2..... Also Tomorrow, D+2 usw.

MarioBasa
Beobachter
Beobachter
Beiträge: 2
Registriert: 27.04.2018, 18:17
Gender:

Re: "Weather illustro": Wochentage auf deutsch umstellen

Beitrag von MarioBasa » 27.04.2018, 19:17

Hat funktioniert, danke für die schnelle Hilfe!

Antworten