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

Add comment

Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0