Title: Datepicker language + Date format
Last modified: July 13, 2023

---

# Datepicker language + Date format

 *  [fpeyrin](https://wordpress.org/support/users/fpeyrin/)
 * (@fpeyrin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/)
 * Hello,
 * I’m currently using vikbooking on a French site. I’ve set the peferred country
   to French in the global configuration panel. I have also put a Search Form shortcode
   in my page, by making sure its language is set to french. However, the datepicker
   appears in english, as well as the check-in and check-out dates in the “options”
   step of the form for example.
 * How can I display the datepicker in the correct language, and the dates in either
   a numeric (ex “24/07/2023”) or in french ?
 * Thanks in advance for taking your time

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16892715)
 * Hello,
 * Thanks for your message. The language setting that you can choose for the Shortcodes
   of Vik Booking is actually just a filter, so that you could use a unique Shortcode
   string for a specific type and language on your website.
 * However, that setting will not actually tell WordPress to load a specific language,
   because that should be handled through your multi-language plugin. This means
   that the page that you’re currently testing should have the French language assigned,
   so that WordPress will load the apposite translation file of VikBooking for French.
 * Also, dates will not actually be translated. Dates are formatted accordingly 
   to the global configuration settings defined in VikBooking respectively for the“
   date format” as well as the “date separator”. In your case, the separator should
   be the default slash (“/”) while the format should be d/m/Y for Europe.
 * Lastly, you mentioned the “preferred country” setting in the configuration page
   of VikBooking: that value will not actually control the website’s default language,
   as this is something related to the WordPress global settings. That value instead
   will place France at the top of the list next to a custom field of type “Phone
   number”. For example, if you try to create a manual reservation from the page
   Calendar, when clicking the “Assign Customer” button you will see the phone number
   input field where the “preferred” countries will be listed at the top. Alternatively,
   you can just test the behavior by using the booking process in the front-end 
   section of your website.
 * We hope this helps!
   The VikWP Team
 *  Thread Starter [fpeyrin](https://wordpress.org/support/users/fpeyrin/)
 * (@fpeyrin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16892916)
 * Hello,
 * Thanks for your answer. You made the shortcode part clear.
 * I also checked my global wordpress settings, and my website language is set to
   french. However, the datepicker is still showing english months, and I don’t 
   know how to change this ?
 * Thanks in advance for taking your time
 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16892960)
 * Hello,
 * We would like to understand better if only the datepicker is not being translated?
   Do you see other language strings being translated correctly?
 * If you see partial translations, then we can shorten the list of who could be
   responsible of this issue to the one below:
    - the French translation for VikBooking may be incomplete.
    - some third-party plugins may override the jQuery UI Datepicker that ships 
      with WordPress to load their own language translations.
 * Please investigate on the above possible causes of the missing translations to
   see if you can actually fix the problem.
 * Also, if you are familiar with inspecting the HTML source code of the page, then
   you should be able to read the VikBooking translations for the datepicker. If
   you see them correctly defined in French, then the responsible of the issue must
   be a third-party plugin.
 * The VikWP Team
 *  Thread Starter [fpeyrin](https://wordpress.org/support/users/fpeyrin/)
 * (@fpeyrin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16893017)
 * Thanks for your answer !
 * Currently, there isn’t any language plugin installed on my website : the only
   language used is french. All my rooms informations are wrote in this language.
   If I understand Vibooking’s backend correctly, I am able to set translations 
   for other languages, in my example english, which will be visible once I install
   a language plugin and view my website as an english user.
 * So my problem is that even if french is currently set as the main language of
   my website, the datepickers appear in english. I simply want to know if I am 
   missing something.
 *  Thread Starter [fpeyrin](https://wordpress.org/support/users/fpeyrin/)
 * (@fpeyrin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16893051)
 * Or do you mean there is a setting in Vikbooking where I have to set the french
   months names ? Because I was assuming this was automatic based on the current
   language
 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16893119)
 * Hi,
 * There are two types of translations available, the WordPress translation files
   in PO/MO format as well as the internal translation records in VikBooking, that
   would allow you for example to translate a room name/description into another
   language, like English.
 * With VikBooking you cannot manage the PO/MO translation files, because these 
   are either downloaded automatically by WordPress (if available), or you can manually
   download a user-contributed translation of the plugin from our website.
 * That said, the datepicker calendars that show the name of the months as well 
   as the name of the week days, are controlled by the PO/MO translation files. 
   This means that you cannot add such missing translations through VikBooking, 
   it has to be done elsewhere, either on the WordPress official translation page
   for our plugin or by using a language plugin on your webite.
 * We were wondering if a French translation file (PO/MO) was available in your 
   website at all. That’s why we asked if only the datepicker calendars were untranslated
   or if any page of VikBooking was in English. For example, other buttons, contents
   or pages generated by VikBooking should be displayed in French as long as you
   have a French PO/MO file on your website.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Datepicker language + Date format’ is closed to new replies.

 * ![](https://ps.w.org/vikbooking/assets/icon-256x256.png?rev=1855707)
 * [VikBooking Hotel Booking Engine & PMS](https://wordpress.org/plugins/vikbooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vikbooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vikbooking/)
 * [Active Topics](https://wordpress.org/support/plugin/vikbooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vikbooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vikbooking/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/datepicker-language-date-format/#post-16893119)
 * Status: not resolved