Index: slick/templates/slick.theme.inc
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- slick/templates/slick.theme.inc	(revision 1b6b1ac1354d60ce1904dd95ca03d46233c2e5d9)
+++ slick/templates/slick.theme.inc	(revision )
@@ -59,8 +59,10 @@
     }
   }
 
-  if (!empty($js['rtl'])) {
-    $attributes['dir'] = 'rtl';
+  $language = \Drupal::languageManager()->getCurrentLanguage();
+  if ($language->getDirection() == 'rtl') {
+      $attributes['dir'] = $language->getDirection();
+      $js['rtl'] = $language->getDirection() ? TRUE : FALSE;
   }
 
   // Prevents broken slick when only one item given, or an enforced unslick.
