It is currently March 29th, 2024, 1:14 am

Question how made .ini skin in german (umlaut)? I'm going crazy.

Get help with creating, editing & fixing problems with skins
User avatar
ElenaLauder
Posts: 2
Joined: September 19th, 2018, 2:53 pm

Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by ElenaLauder »

Hi to all,
I hope you can help me.
I'm going crazy.
I can't made the skin with german umlaut (äöü).
Here is my skin:

Code: Select all

[Rainmeter]
Update=500

;==========
; DATE
;==========

[Date]
Measure=Time
Format=%d.%B, %Y

[MeasureMonth]
Measure=Time
Format=%B
FormatLocale=de-DE 
Substitute="Januar":"Januar","February":"Februar","March":"März","April":"April","May":"Mai","June":"Juni","July":"Juli","August":"August","September":"September","October":"Oktober","November":"November","Dezember":"Dezember"

[MeterDate]
Meter=STRING
MeasureName=Date
X=119
Y=28
FontColor=0, 255, 0
FontSize=12
FontFace=AGLettericaCompressed
StringStyle=ITALIC
AntiAlias=1
StringAlign=LEFT

[Day]
Measure=Time
Format=%A
FormatLocale=de-DE 
Substitute="Monday":"Montag","Thuesday":"Dienstag","Wednesday":"Mittwoch","Thursday":"Donnerstag","Friday":"Freitag","Saturday":"Samstag","Sunday":"Sonntag"

[MeterDay]
Meter=STRING
MeasureName=Day
X=119
Y=16
FontColor=0, 255, 0
FontSize=12
FontFace=AGLettericaCompressed
StringStyle=ITALIC
AntiAlias=1
StringAlign=LEFT

;==========
; TIME
;==========

[Time]
Measure=Time
Format=%H:%M:%S

[MeterTime]
Meter=STRING
MeasureName=Time
X=60
Y=12
FontColor=0, 255, 0
FontSize=25
FontFace=AGLettericaCompressed
StringStyle=ITALIC
AntiAlias=1
StringAlign=CENTER

The "days" are working. But the "month" doesn't work.
I have saved the file in ANSI, UTF-8 and UCS-2 Little Endian but it doesn't work.
I have seen other german skins and all have the same code. I have copied the code, but it doens't work.
I tried many hours to solve the problem.
It is to rip out hair.
What I do wrong, I think nothing.
Thank you in advance for your respond, help and effort.
Kind Regards,
Elena
Last edited by ElenaLauder on September 19th, 2018, 11:53 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by jsmorley »

I don't see that you are using the measure [MeasureMonth] in any meters...

Perhaps if you move the Substitute up into the [Date] measure that you actually are using, that might work better for you. Then you really don't need the [MeasureMonth] at all.

Code: Select all

[Date]
Measure=Time
Format=%d.%B, %Y
Substitute="Januar":"Januar","February":"Februar","March":"März","April":"April","May":"Mai","June":"Juni","July":"Juli","August":"August","September":"September","October":"Oktober","November":"November","Dezember":"Dezember"
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by balala »

ElenaLauder wrote:The "days" are working. But the "month" doesn't work.
Sorry jsmorley, but I'm not sure what means that the days are working and month doesn't.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by jsmorley »

balala wrote:Sorry jsmorley, but I'm not sure what means that the days are working and month doesn't.
The problem is that there is a string meter for the "day" that is using the measure [Day], which has a Substitute that changes for instance Monday to Montag. That is fine. For the "month", she has a measure [MeasureMonth] that has a Substitute on it to change for instance March to März, but that measure isn't being used in any string meters. Instead the measure [Date] is being used, and the simple solution is just to move the Substitute to that, and eliminate the [MeasureMonth] measure entirely.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by jsmorley »

BTW, you do want the skin .ini file encoded as UCS-2 Little Endian.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by jsmorley »

To be honest the Substitute(s) aren't really needed at all...

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

;==========
; DATE
;==========

[Date]
Measure=Time
Format=%d.%B, %Y
FormatLocale=de-DE

[MeterDate]
Meter=STRING
MeasureName=Date
X=119
Y=28
FontColor=0, 255, 0
FontSize=12
FontFace=AGLettericaCompressed
StringStyle=ITALIC
AntiAlias=1
StringAlign=LEFT

[Day]
Measure=Time
Format=%A
FormatLocale=de-DE

[MeterDay]
Meter=STRING
MeasureName=Day
X=119
Y=16
FontColor=0, 255, 0
FontSize=12
FontFace=AGLettericaCompressed
StringStyle=ITALIC
AntiAlias=1
StringAlign=LEFT

;==========
; TIME
;==========

[Time]
Measure=Time
Format=%H:%M:%S

[MeterTime]
Meter=STRING
MeasureName=Time
X=60
Y=12
FontColor=0, 255, 0
FontSize=25
FontFace=AGLettericaCompressed
StringStyle=ITALIC
AntiAlias=1
StringAlign=CENTER
This will already display all date information in German.
1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by balala »

jsmorley wrote:To be honest the Substitute(s) aren't really needed at all...
Completely agree. It's much simpler...
User avatar
ElenaLauder
Posts: 2
Joined: September 19th, 2018, 2:53 pm

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by ElenaLauder »

jsmorley wrote:To be honest the Substitute(s) aren't really needed at all...
This will already display all date information in German.
Hi to all,
"jsmorley" you are the genius.
Thank you very much, for your help, your right.
This work, great, thank you very much again.
I struggling with this for month. ;)
Wow, I'm soo happy.
Have a good time.
Kind Regards,
Elena
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Question how made .ini skin in german (umlaut)? I'm going crazy.

Post by jsmorley »

Glad to help!