01. Preparation

Last modified: February 9, 2008 - 00:23

Make sure you have a working Drupal 5.x site. If you just installed it, create some content to be sure that it is working correctly. After creating content, also check Administer > Logs > Recent log entries to make sure errors are not being generated. If errors are found, fix those first.

Backup your site. We will be making changes to settings.php, and like many other modules, Localizer will modify your database, so please heed this warning unless you don't mind starting your site from scratch if it gets messed up.

Note: If you have ever installed the Internationalization (or "i18n") module, you will need to remove it and whatever patches you may have done for it. There will most likely be conflicts if you do not.

This document assumes you are using Drupal 5.x on your site, so create a directory called modules under Drupal's /sites/all/ directory if it does not already exist. This is where we will upload Localizer a bit later. (Technically the localizer folder can also just go into the modules directory directly under the Drupal home directory, but Drupal 5.x best practices say to put contributed modules under /sites/all/modules, so that is what this documentation will be based on.)

While it is not necessary to do it first, it is probably most logical to install the user interface languages you will want to use before you install Localizer. For instructions on doing this, see this HOWTO.

Download the following files:

  1. The latest Localizer module (this document assumes 3.x) from
    http://drupal.org/project/localizer.
  2. The flag icons from http://speedtech.it/drupal-localizer.
 
 

Drupal is a registered trademark of Dries Buytaert.