Hi,

is It possible to translate Page Title & Site map message ? with a multilingual variable for example ?

thanks

Comments

kurkuma’s picture

It is possible, indeed.
Info about multilanguage variables here.

cpo’s picture

In this page, I don't find the variable to use

mansspams’s picture

Status: Active » Closed (works as designed)

Devel module can show you variables.

gejo’s picture

As you can see here:

If you have devel module installed [http://drupal.org/project/devel] , go to "/devel/variable"

In this case the variables are:

site_map_page_title
site_map_message

Then you have to add these variables to settings.php

...
$conf['i18n_variables'] = array(
  'site_map_page_title',
  'site_map_message',
);

Don't forget to clear cached data at "admin/settings/performance".
Now you can translate Page Title & Site map message.
Simply edit Site Map settings for each language ("[lang.code]/admin/settings/sitemap").

jox’s picture

Issue summary: View changes

In Drupal 7 you go to /admin/config/regional/i18n/variable to make variables translatable (instead of adding/editing the i18n_variables variable in settings.php).