Quote:
Hello to everyone,
Maybe you can help me with this matter. I'm on xwidget pro v1.3.6. I often encounter the problem that in existing widgets I cannot create the weekday to be shown as "MON", not only "Mo." or fully "Montag" (German language) as in datetimecore. Just "MON" as in many other widgets.
Accweathercore does exist and is chosen. I understood that it also has to do something with "interceptStart" (sorry, I'm not a professional), so this is set to "1", too. Still not working. It always shows fully "Montag", resp. "Mo." - when it's like ${weekshort1}. Same with English language, not only with German days.
When I do the same in widgets which already DO have this 3-letter English abbreviation, it's working perfectly well to change them into a 3-letter German word and also to add more such days by cloning one, but NOT via creating new entries.
So does it have to be set during the creation of the widget already and cannot be changed afterwards or what did I do wrong?
Thanks a lot for your answer!
Lydia
Hello Lydia.
I create most of the widgets so I can explain you how this part work. I will show you screenshots from the pc XDesigner but works the same on Android. (check the link below)
1.How to change the date language from English to your phone's language:
All the widgets are made using the english language as default.
Edit the widget and change the corrisponding text's code-tag under Attributes->Bind Core->Core label.
1. Day
${WeekEn} -> ${Week}
${WeekEnShort} -> ${WeekShort}
2. Month
${MonthEn} -> ${MonthTxt}
${MonthEnShort} -> ${MonthTxtShort}
Exit and Save
2. About the text length depends on the design. There are widgets that I have used or all the word so for example "Monday" - code ${MonthEn}, or the three letters - code ${WeekEnShort}, or a custom length using the Interception option (or InterceptStart/End on phone)
Here are some screenshots to understand how it works: (english or german doesn't matter)
https://imgur.com/a/Lkhv5The Interception option works like this: (default is off with values 0 - 0)
- The Start position is the number of the letter that the word will start with. So if you want to use this option in general and start/show from the first letter, put it to "1".
- The Length (or interceptEnd on phone) is the is the number of the letter that the word will end with. So if you want to have "Mo" you need to put "2" as I did on my example here. If you want "Mon" put "3", "Mond" put 4 etc.
I hope to be clear

PM: This is the pc section. If you want to ask something for the Android only pls use this section
viewforum.php?f=19
Thank you
Hi Jimking,
Firstly thank you very much for your quick reply! Sorry for posting this in the wrong section. Hope to be right here now.
Unfortunately, for some reason the little letters in the screenshot are hardly recognisable, maybe something's wrong with my phone settings, so let's see if I got it right from your description.
Standard is:
${weekEn} = Thursday (English)
${week} = Donnerstag (German)
${weekEnShort} = Thu (English)
${weekShort} = Do. (German)
So far, so clear.
If now I would like to have a
3-letter abbreviation for German, I have to use a
custom length, right? (because ${weekShort} = "Do." and not "Don", as it is in English).
So I use Interception option.
And now that's what unfortunately I cannot make out clearly in the screenshot.
For "Don":
First letter "D" = interceptStart = 1, right?
Lenght of the word is supposed to be 3, so this is
InterceptEnd = 3 ?
In case I should have gotten it right so far, then why it's not working with me? see screenshots
I am so sad....
