Install Persian language.
It contains, correctly, in administrator/language/fa-IR/
the file fa-IR.css
.
This file is designed to override some default template css to adapt to a specific language.
In Isis and Hathor, it should be loaded by
// Load specific language related CSS
JHtml::_('stylesheet', 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css', array('version' => 'auto', 'relative' => true));
css loads.
It does not.
Labels |
Added:
?
|
Try removing 'relative' => true
from the array
JHtml::_('stylesheet', ltrim(JUri::base(true), '/') . '/language/' . $lang->getTag() . '/' . $lang->getTag() . '.css', array('version' => 'auto'));
should work
Category | ⇒ | com_languages |
Status | New | ⇒ | Discussion |
@infograf768 @C-Lodder please test #16513
See PR.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-04 12:09:02 |
Closed_By | ⇒ | mbabker |
Evidently, if I use the 2.5 code
it loads OK