Questions and answers about change of functions, design, hosting etc.
Moderators: Koduc, Xpycm
Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.
The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.
by gorolan » 17 Feb 2022, 11:37
Hello
Your free version dirction is LTR , how to make it RTL
the description about his version is :
Theme 'Atlas' with RTL language support
Regards
-
gorolan
- Stranger
-
- Posts: 2
- Joined: 17 Feb 2022, 11:25
- Reputation point: 0
by andipas » 17 Feb 2022, 17:16
In file protected\modules\lang\models\Lang.php
change the code
- Code: Select all
public static function isRTLLang($lang)
{
if (!isset(self::$_activeLangsFull)) {
self::getActiveLangs();
}
if (isset(self::$_activeLangsFull[$lang]['isRTL']) && self::$_activeLangsFull[$lang]['isRTL'])
return true;
return false;
}
on that
- Code: Select all
public static function isRTLLang($lang)
{
if (!isset(self::$_activeLangsFull)) {
self::getActiveLangs();
}
if (isset(self::$_activeLangsFull[$lang]['isRTL']) && self::$_activeLangsFull[$lang]['isRTL'])
return true;
return true;
}
-
andipas
- Web Developer
-
- Posts: 156
- Joined: 28 Dec 2011, 22:37
- Reputation point: 1
by gorolan » 18 Feb 2022, 13:20
Thank you very much
Please where can i locate language file as .csv to make translation
Regards
-
gorolan
- Stranger
-
- Posts: 2
- Joined: 17 Feb 2022, 11:25
- Reputation point: 0
Return to Questions and help for changes
Who is online
Users browsing this forum: No registered users and 9 guests