A alon Active Member Licensed User Longtime User May 18, 2021 #1 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. Thanks In advance. Last edited: May 19, 2021
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. Thanks In advance.
M Mahares Expert Licensed User Longtime User May 18, 2021 #2 alon said: I am using B4XDateTemplate and I would like to know if I can change the text of the days. Click to expand... This thread should solve your problem. It is short and to the point. Take a look: B4XDateTemplate - Change of Month/WeekDay Hi there, for my program I am using the B4XDateTemplate in B4A. In this template the month on the top right is in english language. Same goes for the weekday. I can't seem to find a way to change them to a different language or even any different term/name. To make it a bit more clear: In... www.b4x.com Upvote 0
alon said: I am using B4XDateTemplate and I would like to know if I can change the text of the days. Click to expand... This thread should solve your problem. It is short and to the point. Take a look: B4XDateTemplate - Change of Month/WeekDay Hi there, for my program I am using the B4XDateTemplate in B4A. In this template the month on the top right is in english language. Same goes for the weekday. I can't seem to find a way to change them to a different language or even any different term/name. To make it a bit more clear: In... www.b4x.com
A alon Active Member Licensed User Longtime User May 18, 2021 #3 Mahares said: This thread should solve your problem. It is short and to the point. Take a look: B4XDateTemplate - Change of Month/WeekDay Hi there, for my program I am using the B4XDateTemplate in B4A. In this template the month on the top right is in english language. Same goes for the weekday. I can't seem to find a way to change them to a different language or even any different term/name. To make it a bit more clear: In... www.b4x.com Click to expand... 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
Mahares said: This thread should solve your problem. It is short and to the point. Take a look: B4XDateTemplate - Change of Month/WeekDay Hi there, for my program I am using the B4XDateTemplate in B4A. In this template the month on the top right is in english language. Same goes for the weekday. I can't seem to find a way to change them to a different language or even any different term/name. To make it a bit more clear: In... www.b4x.com Click to expand... 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
Erel B4X founder Staff member Licensed User Longtime User May 19, 2021 #4 Code: Copy '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+ Upvote 0
Code: Copy '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+
A alon Active Member Licensed User Longtime User May 19, 2021 #5 Erel said: View attachment 113672 Code: Copy '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+ Click to expand... 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
Erel said: View attachment 113672 Code: Copy '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+ Click to expand... 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...