Hi,
I have spent the last two hours trying to make the title of the language switcher invisible in a theme that I installed. The theme was developpped by someone else but there is very little support if none, this is why I would preferr not to mention its name, because I'll try to solve it myself, and not blame the author.
I think that I traced the issues, because in the Bartik theme the Language switcher is shown but without the language title.
I traced this in Bartik to the template.php function where there is a funciton:
function bartik_preprocess_block(&$variables) {
// In the header region visually hide block titles.
if ($variables['block']->region == 'header') {
$variables['title_attributes_array']['class'][] = 'element-invisible';
}
}
But in this other theme, the template.php is almost empty(there is only one if for the front page special processing).
And the result is that in this other theme the html looks like this:
<div id="header-top-inside-left"> <div class="region region-header">
<div id="block-locale-language" class="block block-locale">
<h2>Languages</h2>
whereas in bartik it looks like this:
<div class="region region-header">
<div id="block-locale-language" class="block block-locale">
<h2 class="element-invisible">Languages</h2>