Is it possible to add multilingual support to titles/headers/etc. of the Views?
Currently, it looks like the Views are multilingual and work fine, but the titles, headers, etc. for the views are available only in one language. (Maybe I'm missing something?)
So far, I used a PHP code in the View header as a workaround:

<?php
global $locale;
if($locale=="en") {echo '<h1 class="title">View title in English</h1>';} 
else {echo '<h1 class="title">View title in another language</h1>';}
?>

Thank you very much indeed for the wonderful job you are doing with Localizer!

Comments

Roberto Gerola’s picture

No, these strings are not in control of Localizer.

A patch for views module would be necessary.

Roberto Gerola’s picture

Status: Active » Closed (fixed)
andrejusc’s picture

Hi Roberto,

Is there any plans to make those Views Localizer enabled soon? Currently I'm working with Drupal v5.3 and Views 5.x-1.6 module.

While GN's PHP suggestion worked for one particular view - view name in that case isn't reflected in whole selected page path.

I've tried to put 'page_title' into i18n_variables array inside settings.php, but it seems not to work.

Any help would be appreciated.