Android Question [SOLVED] B4XDateTemplate - Replace Days In Week Text

alon

Active Member
Licensed User
Longtime User
Hi ,
I am using B4XDateTemplate and I would like to know if I can change the text of the days.
The reason is that in other language it is wrong.

1621334512034.png



Thanks In advance.
 
Last edited:

Mahares

Expert
Licensed User
Longtime User
I am using B4XDateTemplate and I would like to know if I can change the text of the days.
This thread should solve your problem. It is short and to the point. Take a look:
 
Upvote 0

alon

Active Member
Licensed User
Longtime User
This thread should solve your problem. It is short and to the point. Take a look:

Hi Mahares,

I saw this thread but it cant help me, because the Locale is correct ,
and the problem is that the text for each day in my Locale is too long.
as you can see in the picture every lable of the day is the same.

thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

alon

Active Member
Licensed User
Longtime User
View attachment 113672

B4X:
'always start from Sunday!
datepicker.DaysOfWeekNames = Array("א", "ב", "ג", "ד", "ה", "ו", "ש") 'The first item is א. It looks the opposite because of the RTL text.
Nice colors from: https://www.b4x.com/android/forum/threads/b4xdatetemplate-change-of-month-weekday.120348/post-752662

Depends on XUI Views v2.48+


Thank you very much Erel, for the update.
I really appreciate that.

by the way in next update it will be greate if we could make it all RTL.

Thanks...
 
Upvote 0
Top