summaryrefslogtreecommitdiffstats
path: root/INSTALL.txt
diff options
context:
space:
mode:
authorJose Reyero2004-11-18 14:09:13 +0000
committerJose Reyero2004-11-18 14:09:13 +0000
commit936eb88a53f382ff3b875c18a179f9db5f287ff2 (patch)
tree366d8e220ca927805e7a5102dae058e44633ccab /INSTALL.txt
parent1325e0474eb9eb6568406c290817ee94e1f20af4 (diff)
Updated documentation
Diffstat (limited to 'INSTALL.txt')
-rw-r--r--INSTALL.txt20
1 files changed, 17 insertions, 3 deletions
diff --git a/INSTALL.txt b/INSTALL.txt
index 5341f67..4a74789 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -7,11 +7,15 @@ Email: drupal at reyero dot net
********************************************************************
INSTALLATION:
-0. Apply the patches provided with the module
+0. Apply the patches provided with the module:
bootstrap.inc patch is only required if you want language dependent variables -see below
+
1. Create folder 'modules/i18n'
+
2. Copy all the modules files, keeping directory structure, to the folder 'modules/i18n/'
-3. Configuration file -conf.php- and flags
+
+3. Configuration file -conf.php- and flags:
+
3.1. To use url rewriting, this line should be added to your configuration file:
include 'modules/i18n/i18n.inc'
@@ -28,7 +32,8 @@ INSTALLATION:
<warning> This feature is experimental</warning>
------------------------------------------------
-
+<NEW,IMPORTANT> This may be dropped in upcoming versions, so it is discouraged</NEW,IMPORTANT>
+------------------------------------------------
4.1. Modify $db_prefix and add $db_prefix_i18n in .conf file. This is a sample:
$db_prefix=array (
@@ -51,6 +56,15 @@ INSTALLATION:
4.3. [IMPORTANT] If you are updating an existing site, you have to manually synchronize the id's in the {sequences} table
+Same object ids should have the same value accross languages
+
+I.e.
+
+en_node_id = 5
+es_node_id = 5
+ru_node_id = 5
+
+
4.4. [ADVICE] For language-dependent tables, you better define the supported languages in the config file.
* Otherwise, changing the locale languages can cause some language dependant tables to get out of sync