*

leraat

  • **
  • 7 posts
RTL NOT Work
« on: January 09, 2022, 05:47:46 PM »
Hello rtl not work for my site
https://www.bey3.net/
lift and regt

*

MB Themes

Re: RTL NOT Work
« Reply #1 on: January 10, 2022, 07:47:16 AM »
@leraat
ar_LB is not recognized language parameter by theme.
Go to functions.php of theme, find this line:
Code: [Select]
  $langs = array('ar_DZ','ar_BH','ar_EG','ar_IQ','ar_JO','ar_KW','ar_LY','ar_MA','ar_OM','ar_SA','ar_SY','fa_IR','ar_TN','ar_AE','ar_YE','ar_TD','ar_CO','ar_DJ','ar_ER','ar_MR','ar_SD');

and add there your locale:
Code: [Select]
  $langs = array('ar_DZ','ar_BH','ar_EG','ar_IQ','ar_JO','ar_KW','ar_LY','ar_MA','ar_OM','ar_SA','ar_SY','fa_IR','ar_TN','ar_AE','ar_YE','ar_TD','ar_CO','ar_DJ','ar_ER','ar_MR','ar_SD', 'ar_LB');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots