[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - Creating abbreviated day entries

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 15th, 2024, 11:45 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: February 27th, 2018, 5:44 pm 
Offline

Joined: February 27th, 2018, 2:45 pm
Posts: 2
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


Top
 Profile  
 
PostPosted: February 28th, 2018, 1:52 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
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/Lkhv5

The 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

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group