Hi. I have setup a site with two languages (English and Japanese) and would like each language to have its own style sheet. Is it possible? Thanks
Yes, you can use an if statement:
<?php
if($site->language()->default()) {
echo css('assets/css/default.css');
} else {
echo css('assets/css/other.css');
}
Or, if you name your files accordingly:
<?= css('assets/css/'. $site->language()->code() . '.css'); ?>
Got it! ; ) Thanks for your help.