03. Modifying settings.php
In order for Localizer to work its magic with the pre-patched Drupal core files contained in the localizer module directory, we have to let Drupal know that they are there. This is done by adding a line to the settings.php file.
There are various methods for editing this file. Many people will download this file from their server, edit it locally, and then upload it again. This method is fine. As I have focused on a user with Cpanel, I will explain that method.
Using Cpanel's File manager, navigate to /sites/default. You should see the settings.php file there.
Check the permissions. If they are set to 444 or other permission combination that will keep the file from being edited, then click on the file, and then from the menu that appears on the right, click Change Permissions. Change the permissions to 666. (We'll change them back soon.)
Click on the file, and then from the menu that appears on the right, click Edit file. Scroll down to the end of the file, and add the following code, making sure that the path to localizer_settings.php is set correctly for your setup. (Copy and paste should work fine if you have put localizer under /sites/all/modules as is standard practice for Drupal 5.x.)
include_once('sites/all/modules/localizer/localizer_settings.php');Save the file. Then, in File manager, click on settings.php again but this time click on Show file. Scroll down to the bottom and check to make sure that the additions are there.
Assuming everything is there as it should be, change the permissions back to 444 by clicking on settings.php, and then from the menu that appears on the right, click Change Permissions. Refresh your screen once to check that the permissions have really changed.
This is the last step for the "backend" portion of the Localizer installation. Now you are ready to enable Localizer from within your Drupal site.
