Skip Navigation

[Resolved] Localize datepicker and fix it’s style

This thread is resolved. Here is a description of the problem and solution.

Problem:
The datepicker in a view's search form does not use the site's language. It is always rendered in English

Solution:
It is a known issue caused by a bug in WordPress, we have opened a ticket for it. Hopefully, it will be fixed in an upcoming WordPress release. In the meantime, please use the workaround that we suggest in this ticket:
https://toolset.com/forums/topic/front-end-search-date-picker-not-showing-in-danish-when-wordpress-set-to-danish/

This support ticket is created 3 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by alessandroD-7 3 years, 6 months ago.

Assisted by: Jamal.

Author
Posts
#2104807

Thank you Nigel,

How Is it possible to localize the date picker in Italian?
And change the color theme?

Regards
Alex

#2104821

Hello Alex,

Regarding the patepicker localization, it is a known issue caused by a bug in WordPress, we have opened a ticket for it. Hopefully, it will be fixed in an upcoming WordPress release. In the meantime, please use the workaround that we suggest in this ticket:
https://toolset.com/forums/topic/front-end-search-date-picker-not-showing-in-danish-when-wordpress-set-to-danish/

Regarding the styles of the dropdown, it is most probably caused by a conflit with the theme. You can confirm that by temporarily using a default theme, such as TwentyTwenty, I am sure the issue wouldn't appear there.
To fix it, you will need to add custom CSS code. I need to check the page in order to be sure what CSS to add. The page is currently private, I can't see it without login in as the page author or administrator. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

I hope this helps. Let me know if you have any questions.

#2104851

My issue is resolved now. Thank you!