Site Wide Language Dependent Variables

A Drupal site can have many bits and pieces of text that are not associated with any particular node. These site-wide settings are stored in the database and referred to as variables. Some examples are the site name and slogan, found on the Site Information screen, or the registration email templates found under User settings. There is no simple way to get these particular kinds of text into the regular translatable string interface.

The Internationalization module adds the ability to tell Drupal specifically that you wish to provide translations for these variables. Unfortunately, to set this up, you need to edit your site's settings.php file. Once you add the needed information to the settings, you can continue translating using the regular translation interface. We'll cover this in more detail in the next section, "Hands-On: Internationalization Features."

Was this article helpful?

0 0

Post a comment