| sidebar_label | locale |
|---|---|
| title | locale |
| description | You can learn about the locale in the documentation of the DHTMLX JavaScript Booking library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Booking. |
@short: Optional. An object of a custom locale of Booking
locale?: object;By default, Booking uses the English locale. You can set it to the custom locale as well.
:::tip
To change the current locale dynamically, you can use the setLocale() method
:::
const { data } = getData();
const widget = new booking.Booking("#root", {
data,
locale: booking.locales.de
});Related articles: