Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: moner on August 12, 2022, 07:03:26 PM

Title: SMF 2.1.2 RTL Supported ?
Post by: moner on August 12, 2022, 07:03:26 PM
Hello
SMF 2.1.2 RTL Supported?
how i can change it from LTR to RTL ?
Title: Re: SMF 2.1.2 RTL Supported ?
Post by: Antechinus on August 12, 2022, 07:13:53 PM
Install and select an RTL language. The change should be automatic.
Title: Re: SMF 2.1.2 RTL Supported ?
Post by: moner on August 12, 2022, 07:25:40 PM
Quote from: Antechinus on August 12, 2022, 07:13:53 PMInstall and select an RTL language. The change should be automatic.
Hello ,Antechinus
I did it but not automatic change from LTR to RTL
Title: Re: SMF 2.1.2 RTL Supported ?
Post by: Antechinus on August 12, 2022, 08:01:25 PM
OK, found the problem (at least in Arabic).
Code (index.arabic.php - Find) Select
// Character set and right to left?
$txt['lang_rtl'] = false;
Code (index.arabic.php - Replace) Select
// Character set and right to left?
$txt['lang_rtl'] = true;

It's probably the same idiotic oversight in all RTL language files. Which language are you trying to use?
Title: Re: SMF 2.1.2 RTL Supported ?
Post by: moner on August 12, 2022, 08:48:26 PM
Quote from: Antechinus on August 12, 2022, 08:01:25 PMOK, found the problem (at least in Arabic).
Code (index.arabic.php - Find) Select
// Character set and right to left?
$txt['lang_rtl'] = false;
Code (index.arabic.php - Replace) Select
// Character set and right to left?
$txt['lang_rtl'] = true;

It's probably the same idiotic oversight in all RTL language files. Which language are you trying to use?

Hello ,Antechinus
Thanks a lot, the problem has been solved after change this line.