Перевод модуля бронирования на другой язык
Для того чтобы перевести модуль или любые подписи в нем, вам нужно вставить это код и перевести на нужный Вам язык, перевод модуль подгрузит автоматически:
function MB_mod(MB) { MB.afertLoadConfig = function () { MB.current_language = 'en'; MB.MB_org.module_text_config = { 'select_all_group_option_text': 'All', 'by_clicking_the': 'By clicking the', 'book_run': '«Book» button,', 'i_accept_the' : 'I accept the terms of the', 'terms of the user agreement' : 'user agreement', 'and give my consent to the processing of personal data' : 'and consent to the processing of my personal data', 'days':'days', 'select': 'Choose', 'formCommentPlaceholder':'Add a comment', 'bronInfoBeforeOrderText':'Reservation from ', 'order_to':'to', 'summOrderCaption':'Order total ', "0": "user agreement", "successscreen": "Your order has been successfully added!", "step1title": "Dates", "step2title": "Your contacts", "step3title": "Payment", "addon-from-time": "Submission date", "addon-to-time": "Return date", "table-size-text": "", "moreDetail": "More details", 'toggleBtnText':"More details", "floorCaption": "Floor", "placeCaption": "cars for up to", "contacts_name": "Full name", "contacts_phone": "Phone", "add_comment": "Add a comment", "step2contactInfo": "We will contact you shortly to clarify the details of your order", "paih3text": "After payment, your order will be marked as \"Paid\" and your spot will be reserved.", "paih3info": "Select payment method and click Pay", "orderNumber": "Order number: ", "orderChanged": "Choose: ", "orderBronned": "Occupied: ", "placeCaptionNa": "", "person": "people", "clear_order": "Reset", "prev_step": "← Back", "booking_step": "Book", "next_step": "Next step →", "toggleModuleText": "Online book", "toggleBtnOpenText": "Hide", "nothing_chosen": "No items selected", "maintitle": "Book a room online" } }; }