Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1065

Help: Rainmeter Skins • Re: Shape Clock

$
0
0
Hi, [jsmorley]
Sorry if this is a stupid question. :amazed
Then I would have to predefine the text in each language? And read it from the "MyLanguage.inc" file depending on the system language?
I've never looked into how to do something like that. :???:
You would have separate files for each language you support
Save these in your skins' @Resource folder (a separate file for each language)

For English, in your skin's [Variables] section add: @includeLanguage=#@#language_en.inc
For German, in your skin's [Variables] section add: @includeLanguage=#@#language_de.inc

Sample inc files:
English language file to include in your skin named: language_en.inc

Code:

[Variables]; EnglishRemainingDaysText1=daysRemainingDaysText2=until the end of the year
German language file to include in your skin named: language_de.inc

Code:

[Variables]; GermanRemainingDaysText1=tageRemainingDaysText2=bis zum Jahresende
Then in your meter:

Code:

[DaysLeft]Meter=StringText=338 #RemaingDaysText1# #CRLF# #RemainingDaysText2#

Statistics: Posted by eclectic-tech — Yesterday, 8:02 pm



Viewing all articles
Browse latest Browse all 1065

Trending Articles