Theme adaptable new version is not compatible with RTL languages
by Vahid Aghamohamadi -
Number of replies: 4
In reply to Vahid Aghamohamadi
Re: Theme adaptable new version is not compatible with RTL languages
by Fernando Acedo -
Adaptable never has been tested in RTL languages, so yes, it is possible that crash the layout or loading the styles.
No plans for the moment to develop Adaptable for RTL languages.
In reply to Vahid Aghamohamadi
Re: Theme adaptable new version is not compatible with RTL languages
by Mary Evans -
The problem is not so much Adaptable but the fact RTL CSS has been removed from Bootstrapbase theme, because the Clean and More themes Use a different method which involves fliping the CSS automatically, so left becomes right and visa versa.
Ill try and find out more for you?
Mary
In reply to Mary Evans
Re: Theme adaptable new version is not compatible with RTL languages
by Vahid Aghamohamadi -
THank you for your reply.
The problem is in outputlib.php file on line :
$filename = right_to_left() ? 'all-rtl' : 'all';
when i change the above line to :
$filename = right_to_left() ? 'all' : 'all';
the exception of function parseListItem in Parser.php will not generate and at least the appearance is getting true!
but i dont want to change the core because of other users theme and further updates.
is there any solution to get this change on the theme itself. Thank you .
The problem is in outputlib.php file on line :
$filename = right_to_left() ? 'all-rtl' : 'all';
when i change the above line to :
$filename = right_to_left() ? 'all' : 'all';
the exception of function parseListItem in Parser.php will not generate and at least the appearance is getting true!
but i dont want to change the core because of other users theme and further updates.
is there any solution to get this change on the theme itself. Thank you .
In reply to Vahid Aghamohamadi
Re: Theme adaptable new version is not compatible with RTL languages
by Gareth J Barnard -
I've been finding the parser a bit temperamental, so just a matter of working out where it's breaking and fixing the selector that breaks the generation of 'all-rtl'. Look in the php.log file.