It is currently April 25th, 2024, 7:22 am

Modifying the "language"

Get help with creating, editing & fixing problems with skins
dodixd
Posts: 3
Joined: April 17th, 2010, 8:22 pm

Modifying the "language"

Post by dodixd »

Hello,I would like to modify the Rainmeter ..widget? (Newbie to RainMeter :D )
I already edited everything to my "look" ,but I would like to change the language now...
Example... Change the name of day...from Saturday to XYZ ....Or change April to ABC....
(I am using Enigma "skin")
Thanks for your answers.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Modifying the "language"

Post by jsmorley »

Take a look here:

http://rainmeter.net/cms/Tips-WeatherSkinTranslate

The Substitute command talked about is what you need. It will work for what you want to do just fine.
dodixd
Posts: 3
Joined: April 17th, 2010, 8:22 pm

Re: Modifying the "language"

Post by dodixd »

Okayyy...Thanks for your fast answer :thumbsu:

I tried putting this into the "clock skin settings",with no luck.

Code: Select all

Substitute="Monday":"Pondelok";"Tuesday":"Utorok";"Wednesday":"Streda";"Thursday":"Štvrtok";"Friday":"Piatok";"Saturday":"Sobota";"Sunday":"Nedeľa"
Could you tell me where exactly to put it?
I am a really newb. to RainMeter and I totally didnt understand that... :cry: :?
If you could edit it for me???
I can attach the file neeeded.
I hope I attached the right file.
http://www.mediafire.com/?jityycmjh4w
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Modifying the "language"

Post by jsmorley »

Code: Select all

[MeasureDay]
Measure=Time
Format=%A
Substitute="Monday":"Pondelok","Tuesday":"Utorok","Wednesday":"Streda","Thursday":"Å tvrtok","Friday":"Piatok","Saturday":"Sobota","Sunday":"Nedela"
The format for Substitute is: quote valuetochange quote colon quote valuetochangeto quote comma (then repeat)

It goes on the measure returning the value(s) you want to change.
dodixd
Posts: 3
Joined: April 17th, 2010, 8:22 pm

Re: Modifying the "language"

Post by dodixd »

Thanks again,it worked!!!
But I think it didnt work first time because there was written: [in tutorial]
Substitute="Cloudy":"Облачно";"Partly Cloudy":"Переменная облачность" <--- So I did it that way.
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Modifying the "language"

Post by Alex2539 »

You are right. I've fixed the tutorial.
ImageImageImageImage
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Modifying the "language"

Post by jsmorley »

Thanks Alex. The error in that Tips & Tricks was mine. Sorry.