diff options
Diffstat (limited to 'en/4/index.php')
-rw-r--r-- | en/4/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/en/4/index.php b/en/4/index.php index ac3d499d3..09de355a1 100644 --- a/en/4/index.php +++ b/en/4/index.php @@ -2,11 +2,12 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../../langs.php'; +$rtl = is_locale_rtl($locale); $dictionary = read_translation_file($locale, array('4', 'common_footer')); ?> <!DOCTYPE html> -<html lang="<?php echo $locale; ?>"> +<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>"> <head> <meta charset="utf-8"> <title><?php _g('Mageia 4')?></title> |