2015-07-05, 07:50:31
I was able to solve these problems. For language-specific sidebar, I went to "Edit theme components" and added additional sidebar versions: "sidebar_fr", "sidebar_ru", etc. There is guidance on the author's site.
The set-language links in the header required a custom style added to the header css. Using "Edit theme" to edit the theme files. In style.css, add the following to define the "setla" element (adjust as desired):
Then in header.inc.php, add the following inside the header => wrapper section, e.g.:
The set-language links in the header required a custom style added to the header css. Using "Edit theme" to edit the theme files. In style.css, add the following to define the "setla" element (adjust as desired):
Code:
/* HEADER: language setting */
header setla {
position:absolute;
top:0;
right:0;
font-size:10px;
}
header setla a:link,
header setla a:visited {
color:white;
text-decoration:none;
}
Then in header.inc.php, add the following inside the header => wrapper section, e.g.:
Code:
<setla>
<a href="<?php echo htmlspecialchars(return_i18n_setlang_url('en')); ?>">english</a>
<a href="<?php echo htmlspecialchars(return_i18n_setlang_url('ru')); ?>">русский</a>
<a href="<?php echo htmlspecialchars(return_i18n_setlang_url('fr')); ?>">francais</a>
</setla>