timum-booking-localization
by timum
HTML
<div id="bookingjs"></div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src=https://cdn.jsdelivr.net/npm/@timum/timum-booking@^2.10.1/dist/main.booking.min.js></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/locale/fr.js"></script>
<script type="text/javascript">
Timum().init({
/*
this resourceIds are only for demo. put in your timum resourceId.
demo resource with only one services: resourceId: "booking-widget-demo-resource@timum"
demo resource with multiple services: resourceId: "booking-widget-demo-resource-2@3da92d50-78e6-11ea-aba9-06ecf2a1ba22@timum"
*/
resourceId: "booking-widget-demo-resource@timum",
// allows you to alter several ui specific settings
fullcalendar: {
locale:"fr" // Note the fullcalendar fr.js imported at the top of this file.
// The language tag here must match the one specified above.
},
ui: {
// whether you wish to give us credit or remove our branding
show_credits: true,
// can be set to 'listing' in which case appointments are displayed in a list.
// Standard is a regular calendar
availability_view: "agendaWeek",
// route to the avatar image, can be a path on your filesystem or a link to an internet resource
avatar: "",
// 12h cycle or 24h. Alternative value is '12h-mdy-sun'
time_date_format: "24h-dmy-mon",
// change the language used for some texts. There aren't that many
localization: {
allocated_product_prefix: "mit",
allocated_resource_prefix: "in",
product_selection_headline: "Wählen Sie eine Leistung",
submit_button: "Buchen",
success_message: "Wir haben Ihre Buchung erhalten und eine Bestätigung an %s gesandt",
today_button: "Heute",
}
...