Just me or anyone else? Seems odd that the page title doesn't/won't translate when quite a bit of other text does. Have tried putting 'Glossary' & 'Glossaire' into String Overrides but no joy. Title not set as a translatable string? Do I need to alter code in the module or inc file? The page title for the glossary terms themselves does translate, but not the main page or sub (letter) pages. Cheers.

Comments

Mr P’s picture

Is it just me with this problem???

/en/glossary

Page title = Glossary

/fr/glossary

Page title = Glossary

I've tried putting 'Glossary' and 'Glossaire' into Strings Override - this method worked OK for the contact page (en/contact and fr/contact).

Mr P’s picture

Category: support » bug
Mr P’s picture

Status: Needs review » Fixed

Changed glossary.module:

// drupal_set_title($voc->name);
drupal_set_title(t($voc->name));

That did it.

These don't work either but haven't fixed yet:

'title' => decode_entities(t('Edit @name', array('@name' => drupal_strtolower($vocabulary->name)))),

'#title' => t('Detailed definition of @term', array('@term' => $term->name)),

Mr P’s picture

Status: Active » Needs review
Nicolas Bouteille’s picture

Title: glossary page title doesn't/won't translate. » Glossary page title doesn't/won't translate.
Version: 6.x-1.6 » 6.x-1.8
Status: Fixed » Reviewed & tested by the community

had the same problem. Did the trick for me.
line 821 was drupal_set_title(filter_xss_admin($voc->name));
added t() function drupal_set_title(t(filter_xss_admin($voc->name)));
this should be committed

NancyDru’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (outdated)