Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Glossaire interprojet Traduc.org
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
images
includes
locale
style
.gitignore
CODING
COPYING
README
doc.php
entry.php
export.php
history.php
index.php
login.php
user.php

README

Glossary's readme

Copyright (C) 2006 Jonathan Ernst

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software 
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
===============================================================================

License
-------
See COPYING.

Install
-------
* What you need (recommanded)
 - php 5+
 - MySql 4.1+
 - apache 1+
 - php gettext support for localization
 - php remote url opening for automatic translation

* How-to install
 - unpack the package
 - create a MySql database and user
 - dump the content of db/structure.sql into the database
 - optionnaly dump the content of db/content.sql.gz into the database
 - rename includes/config.tpl.php into includes/config.inc.php and edit the file to reflect your configuration

* How-to update
 - delete everything but includes/config.inc.php
 - unpack the package
 - compare includes/config.tpl.php with includes/config.inc.php to see if you are missing some configuration entries
 - compare db/structure.sql with your current database structure and make changes accordingly


Localization (don't forget to send your changes to jonathan@ernstfamily.ch)
------------
* To update the .po template:
 - xgettext --from-code=UTF-8 --language=PHP -o locale/messages.po index.php
 - find ./ -iname "*.php" -exec xgettext --from-code=UTF-8 --language=PHP -j -o locale/messages.po {} \;
* To create a new translation  (replace fr_FR with your locale)
 - mkdir -p locale/fr_FR/LC_MESSAGES
 - cp locale/messages.po locale/fr_FR/LC_MESSAGES/
* To update an existing translation (replace fr_FR with your locale and poedit with your favorite editor)
 - update the .po template
 - cd locale/fr_FR/LC_MESSAGES
 - msgmerge messages.po ../../messages.po -o messages.new.po
 - rm messages.po
 - mv messages.new.po messages.po
 - poedit messages.po 
 - msgfmt messages.po




Something went wrong with that request. Please try again.