SMF 2.1.2 RTL Supported ?

Started by moner, August 12, 2022, 07:03:26 PM

Previous topic - Next topic

moner

Hello
SMF 2.1.2 RTL Supported?
how i can change it from LTR to RTL ?

Antechinus

Install and select an RTL language. The change should be automatic.

moner

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

Antechinus

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?

moner

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.

Advertisement: