moving to new translation system

This commit is contained in:
seek3r 2000-09-07 21:10:17 +00:00
parent 50d4642e19
commit a8b8bb6864
4 changed files with 53 additions and 54 deletions

View File

@ -46,7 +46,7 @@ Windows is supported, but there is no documentation for it currently.
<LI>MySQL 3.22.25 or PostgreSQL 7.0.x</LI>
<LI>Courier-IMAP 0.33+</LI>
</UL>
<P>We have reports of it working on Windows NT, but no details at this time.
<P>We have reports of it working on Windows NT and OS/2.
<H2>2.3 Tested Systems</H2>
<P>After you have met the system requirements, unpack the tarball in the html
@ -57,26 +57,18 @@ doc directory there is a file called create_tables.(name of your database)
<P>We will assume that you are using the database named phpgroupware.
<P><CODE>$ mysql phpgroupware -u username -p &lt; create_tables.mysql</CODE>
Then add the language entries (used for translation purposes).
<P><CODE>$ mysql phpgroupware -u username -p &lt; lang.sql</CODE>
<H3>Installation with PostgreSQL</H3>
<P>We will assume that you are using the database named phpgroupware.
<P><CODE>$ psql -d phpgroupware -U username &lt; create_tables.pgsql</CODE>
Then add the language entries (used for translation purposes).
<P><CODE>$ psql -d phpgroupware -U username &lt; lang.sql</CODE>
<H2>2.4 Configure phpGroupWare</H2>
<P>Change to the inc directory. <BR>
Edit the file called config.inc.php to point to the location of your include files.
<BLOCKQUOTE><CODE>
Some people might prefer to install their include files in a directory which is not world viewable.
For this, you will need to move everything except config.inc.php into another directory
and point config.inc.php to that directory. For most installations, the current location
of these file should be fine.
</CODE></BLOCKQUOTE>
Edit globalconfig.inc.php to reflect your system settings. You can choose which programs
you would like to have available to your system.<BR>
For example, if you do not have access to a IMAP server, you can change
<CODE>$installed["email"] = "Y"; </CODE> to <CODE>$installed["email"] = "N";</CODE><BR>
This would make this program unavaiable to all users regardless of their permissions.
Edit globalconfig.inc.php to reflect your system settings.
<P>If you are using the email system you will need to create a temporary directory
where file uploads will be stored. For security reasons, you should <CODE>chown
nobody.nobody</CODE> and <CODE>chmod 700</CODE> to that directory. Depending on your system configuration.
@ -99,13 +91,8 @@ directory.
<LI>Users always forget to logout. This way the session doesn't sit around forever, creating a possible security risk. </LI>
<LI>The email system requires plain text passwords which are stored in the sessions table.</LI>
</UL>
<P>This file is not required, you can simply uncomment the lines indicated in session.class in update_dla().
This will require an extra query during every transaction which could cause performance
problems. Also, if there are no logins in a few days, they will sit around and
wait for someone to login before they are deleted. If you go this route, you
will need to edit the number of seconds until they are deleted. It defaults to 2 hours
(7200 secs). If you choose to use the cron program, simply edit the settings
for your database and uncomment the line for your database type.
<P>This file is not required, you can simply disable cron_apps in the admin -> applications section
to clean out the sessions table durring login and logout.
<P>stale_uploads.pl - This will delete file attachments for messages that where not
completed. If a users browser crashes, internet connection dies, etc, their
files will sit there forever unless deleted. You could add a few lines to

View File

@ -66,11 +66,15 @@
<p>
We will assume that you are using the database named phpgroupware.<p>
<tt>$ mysql phpgroupware -u username -p < create_tables.mysql</tt>
Then add the language entries (used for translation purposes).<p>
<tt>$ mysql phpgroupware -u username -p < lang.sql</tt>
</p>
<sect2>Installation with PostgreSQL
<p>
We will assume that you are using the database named phpgroupware.<p>
<tt>$ psql -d phpgroupware -U username < create_tables.pgsql</tt>
Then add the language entries (used for translation purposes).<p>
<tt>$ psql -d phpgroupware -U username < lang.sql</tt>
</p>
<sect1>Configure phpGroupWare
<p>

View File

@ -83,8 +83,7 @@
+o Courier-IMAP 0.33+
We have reports of it working on Windows NT, but no details at this
time.
We have reports of it working on Windows NT and OS/2.
22..33.. TTeesstteedd SSyysstteemmss
@ -99,33 +98,24 @@
We will assume that you are using the database named phpgroupware.
$ mysql phpgroupware -u username -p < create_tables.mysql
$ mysql phpgroupware -u username -p < create_tables.mysql Then add the
language entries (used for translation purposes).
$ mysql phpgroupware -u username -p < lang.sql
22..33..22.. IInnssttaallllaattiioonn wwiitthh PPoossttggrreeSSQQLL
We will assume that you are using the database named phpgroupware.
$ psql -d phpgroupware -U username < create_tables.pgsql
$ psql -d phpgroupware -U username < create_tables.pgsql Then add the
language entries (used for translation purposes).
$ psql -d phpgroupware -U username < lang.sql
22..44.. CCoonnffiigguurree pphhppGGrroouuppWWaarree
Change to the inc directory.
Edit the file called config.inc.php to point to the location of your
include files.
Some people might prefer to install their include files in a directory
which is not world viewable. For this, you will need to move every-
thing except config.inc.php into another directory and point con-
fig.inc.php to that directory. For most installations, the current
location of these file should be fine.
Edit globalconfig.inc.php to reflect your system settings. You can
choose which programs you would like to have available to your system.
For example, if you do not have access to a IMAP server, you can
change $installed["email"] = "Y"; to $installed["email"] = "N";
This would make this program unavaiable to all users regardless of
their permissions.
Edit globalconfig.inc.php to reflect your system settings.
If you are using the email system you will need to create a temporary
directory where file uploads will be stored. For security reasons,
@ -136,6 +126,10 @@
If you do not have access to root, create this file and run it.
<?php
if (mkdir("/path/to/temp/directory",0700)) {
echo "Directory created successfully";
@ -155,15 +149,9 @@
+o The email system requires plain text passwords which are stored in
the sessions table.
This file is not required, you can simply uncomment the lines
indicated in session.class in update_dla(). This will require an
extra query during every transaction which could cause performance
problems. Also, if there are no logins in a few days, they will sit
around and wait for someone to login before they are deleted. If you
go this route, you will need to edit the number of seconds until they
are deleted. It defaults to 2 hours (7200 secs). If you choose to
use the cron program, simply edit the settings for your database and
uncomment the line for your database type.
This file is not required, you can simply disable cron_apps in the
admin -> applications section to clean out the sessions table durring
login and logout.
stale_uploads.pl - This will delete file attachments for messages that
where not completed. If a users browser crashes, internet connection
@ -194,8 +182,6 @@
To subscribe, go to http://sourceforge.net/mail/?group_id=7305
<http://sourceforge.net/mail/?group_id=7305>
33..33.. HHiissttoorryy
This document was started by Joseph Engo and reworked by Dan
@ -210,7 +196,6 @@
v1.0 (July 6, 2000)
+o Built proper SGML version.
+o Included the FAQ.
@ -252,6 +237,21 @@

View File

@ -3,4 +3,12 @@ has changed.
The inventory program has a new field called mstock.
There is a new translation support system, you need to add the lang table, which can be found at the end of the create_table script
There is a new translation support system, you need to add the lang table
The sql commands to do so can be found at the end of the create_table script
You also need to dump in the new doc/lang.sql file
on MySQL
$ mysql phpgroupware -u username -p < doc/lang.sql</tt>
on postgresql
$ psql -d phpgroupware -U username < doc/lang.sql</tt>