         event.preventDefault()
       .ajaxComplete(_init_each_datepicker)
 
-    $.datepicker.setDefaults($.datepicker.regional['pl']);
+    lang = $('html').attr('lang') ? 'pl'
+    $.datepicker.setDefaults($.datepicker.regional[lang]);
     $.datepicker.setDefaults(dateFormat: 'dd/mm/yy');
     _init_each_datepicker()
 

    $(document).on 'append-next-page', (event, content) =>
      element = $(event.target)
      element.find('.show-more').replaceWith $(content)
      @set_main_content_height()




    $('.submenu li.show-more').toggle(elements.length > 0)

  loader: ->
    Loader

