How to translate strings in Drupal 7

IT News & Other
How to translate strings in Drupal 7

Sometimes you need to translate strings even if you do not have a multi-language site and i'm refering mostly to default drupal strings here.

For a multi-language site I recomment to use Internationalization module, but if you need just to override few strings like article pusblishing options in the same language (english) in order to be more friendly for editors i prefer to use one of this options:

 

1. add overrides in the settings.php file:

$conf['locale_custom_strings_en'][''] = array(
   'Sticky at top of lists'      => 'Sticky at top of lists tt',
);

2. use a simple module https://www.drupal.org/project/stringoverrides

Add comment