Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 974 Bytes

File metadata and controls

39 lines (28 loc) · 974 Bytes
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.

locale

Description

@short: Optional. An object of a custom locale of Booking

Usage

locale?: object;

Default config

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 :::

Example

const { data } = getData();
const widget = new booking.Booking("#root", {
    data,
    locale: booking.locales.de
});

Related articles: