Community Documentation

How to translate site names?

Last updated December 3, 2012. Created by lolandese on December 3, 2012.
Log in to edit this page.

Extracted from http://drupal.org/node/1848864

Go to /admin/config/system/site-information. You should see two selector blocks above the form allowing you to switch between combinations of domains and languages. Select the combinations you want to change, and simply edit the value in the form.

The form field description for the sitename field should say "This is a multilingual domain variable". If it doesn't you need to go back to the variable realm admin pages, and add the sitename variable for both the language and the domain realm.

The domains settings "Override site name with name of domain" needs to be turned off.

"Domain+Language" variables are automatically made up by the intersection of configured language variables and configured domain variables. You need to configure them separately on the domain/language configuration pages; i.e. go to admin/config/system/variable/realm/domain, and add the sitename variable, then do the same on admin/config/system/variable/realm/language.

Note that translation is not done via the localization interface (admin/config/regional/translate/translate), but directly on the respective settings page.

Here's a set of screenshots showing how it is supposed to work...


Modules to be disabled
Options to be disabled
Site name should be configured as a domain vaiable
Site name should also be configured as language variable
It now appears as domain + language variable
Only local images are allowed.
Site info config German

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 7.x
Audience
Site builders
Level
Intermediate

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here