{"id":2266,"date":"2017-05-10T04:35:24","date_gmt":"2017-05-10T04:35:24","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=2266"},"modified":"2023-12-26T10:52:03","modified_gmt":"2023-12-26T10:52:03","password":"","slug":"live-filter-translate-text-date-field","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/live-filter-translate-text-date-field\/","title":{"rendered":"Live Filter &#8211; translate text of Date field"},"content":{"rendered":"<p>To translate text of the date field to your language, please follow 2 steps below:<\/p>\n<ul>\n<li>add this code to <strong>Custom JS<\/strong> field in Content Views >> Settings page:\n<pre style=\"font-size:13px\">\n\/* Live Filter - translate the Date field *\/\n$.cvp_datepicker.regional.custom = {\n    closeText: \"Done\", \/\/ Display text for close link\n    prevText: \"Prev\", \/\/ Display text for previous month link\n    nextText: \"Next\", \/\/ Display text for next month link\n    currentText: \"Today\", \/\/ Display text for current month link\n    monthNames: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\",\n        \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"\n    ], \/\/ Names of months for drop-down and formatting\n    monthNamesShort: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"], \/\/ For formatting\n    dayNames: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"], \/\/ For formatting\n    dayNamesShort: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"], \/\/ For formatting\n    dayNamesMin: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"], \/\/ Column headings for days starting at Sunday\n};\n$.cvp_datepicker.resetText = \"Reset\"; \/\/ Text of the Reset button\n$.cvp_datepicker.setDefaults($.cvp_datepicker.regional.custom);\n\/* End *\/\n<\/pre>\n<\/li>\n<li>replace english words in quotes with your words<\/li>\n<\/ul>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To translate text of the date field to your language, please follow 2 steps below: add this code to Custom JS field in Content Views >> Settings page: \/* Live Filter &#8211; translate the Date field *\/ $.cvp_datepicker.regional.custom = { closeText: &#8220;Done&#8221;, \/\/ Display text for close link prevText: &#8220;Prev&#8221;, \/\/ Display text for previous &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/live-filter-translate-text-date-field\/\"> <span class=\"screen-reader-text\">Live Filter &#8211; translate text of Date field<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[46],"doc_tag":[35],"class_list":["post-2266","docs","type-docs","status-publish","hentry","doc_category-live-filter","doc_tag-live-filter"],"year_month":"2026-09","word_count":165,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"Live Filter (Frontend Search &amp; Filter)","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/live-filter\/"}],"doc_tag_info":[{"term_name":"live filter","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/live-filter\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=2266"}],"version-history":[{"count":2,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2266\/revisions"}],"predecessor-version":[{"id":5265,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2266\/revisions\/5265"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=2266"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=2266"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=2266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}