Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
is It possible to translate Page Title & Site map message ? with a multilingual variable for example ?
thanks
Comments
Comment #1
kurkuma CreditAttribution: kurkuma commentedIt is possible, indeed.
Info about multilanguage variables here.
Comment #2
cpo CreditAttribution: cpo commentedIn this page, I don't find the variable to use
Comment #3
mansspams CreditAttribution: mansspams commentedDevel module can show you variables.
Comment #4
gejo CreditAttribution: gejo commentedAs you can see here:
In this case the variables are:
Then you have to add these variables to settings.php
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").
Comment #5
jox CreditAttribution: jox commentedIn Drupal 7 you go to
/admin/config/regional/i18n/variable
to make variables translatable (instead of adding/editing thei18n_variables
variable in settings.php).