root/README

Revision 363:7f9bd529cb7f, 4.0 KB (checked in by Dimitris Glezos <dimitris@…>, 4 months ago)

bugfix: Document manual egg_info creation (#35)

Checking out Tx from the repo requires creating the egg_info directory
manually.

Line 
1
2Transifex
3=========
4
5Transifex is a highly scalable localization platform with a focus on
6integrating well with the existing workflow of both translators and developers.
7
8It aims in making it dead-simple for content providers to receive quality
9translations from big translation communities, no matter where the project
10is hosted.
11
12* Homepage: http://transifex.org/
13* Example live deployment: http://translate.fedoraproject.org/
14
15
16Goals
17-----
18
19* Provide an interface for translators to submit translations to multiple
20  projects, regardless of the type of the underlying VCS
21
22* Reduce the overhead a project maintainer usually undertakes to administrate
23  accounts for translators
24
25* Help translators do more by eliminating the need to subscribe to each VCS and
26  learn its commands and tricks
27
28* Encourage collaboration between developers and maintainers and thus, increase
29  the language coverage of the participant projects
30
31
32Installation
33------------
34
35You can either install Tx from source or using Python packaging. For both
36you'll need to have these additional packages installed::
37
38    yum install cvs subversion mercurial git
39
40
41To **install using Python packaging**, run the following command, either as
42root or as a user with eg. pydistutils or virtualenv::
43
44    easy_install transifex
45
46
47To **install from source**, follow the steps below:
48
491. Install the necessary software, either by using your platform's
50   packaging system or ``easy_install`` (usually part of the 'python-devel'
51   package)::
52
53    # yum install TurboGears python-sqlalchemy
54    # easy_install tw.forms ToscaWidgets genshi
55    Visual diffs: # yum install python-pygments
56    I18n support: # yum install babel
57
582. Get the code. Run the following in a dir like ``~/transifex``, ``/var/www``,
59   or, preferably, in a different user like ``~transifex-user``::
60
61    hg clone http://code.transifex.org/transifex
62    cd transifex
63
643. Since this is not a packaged release, you'll need to generate the
65   necessary metadata manually by running::
66 
67    python setup.py egg_info
68
69
70Configuring your installation
71-----------------------------
72
731. Create a configuration file. Either copy the development one (``dev.cfg``)
74   or the one intended for production systems, and modify settings if needed.::
75
76    cp sample-dev.cfg dev.cfg
77    (vi dev.cfg...)
78
792. Review/modify the deployment-specific options in ``dev.cfg`` and
80   the global ones in ``transifex/config/app.cfg``.
81
82   Create your workdir if it doesn't already exist.
83
843. Create the database::
85
86    tg-admin sql create
87 
884. To load up some initial data, run the init script. This will initialize
89   some local modules and create a couple of users in your Transifex
90   instance (guest/guest, admin/admin). Feel free to use them to submit
91   files to your local modules and play around.::
92
93    ./tx-init.py --test
94   
955. Start transifex::
96
97    ./tx-start.py
98
996. Fire up your browser at http://localhost:8084/
100 
101Feel free to explore the model and the testing data by launching the
102TurboGears shell with ``tg-admin shell`` in your command line.
103
104
105
106Documentation
107-------------
108::
109
110  $ make docs     # generate Epydocs
111  $ firefox docs/epydoc/index.html
112
113
114Translating Transifex itself
115----------------------------
116
117Use the i18n.py script to extract messages and to compile and merge
118POT/PO files. The i18n.py is able to extract the modules descriptions and
119summaries stored in the database. Use the following command for more
120information. ::
121
122  $ ./tx-i18n.py --help
123
124
125Credits
126-------
127
128Information about the crew behind Transifex can be found at:
129
130  http://transifex.org/wiki/Development/Crew
131
132Thanks to everyone who contributed code for Tx, mentioned in the AUTHORS file.
133In addition, a big 'Thanks!' to:
134
135- Google, for its exciting 'Summer of Code' program
136- The Fedora Project, for its amazing people
137- GNOME, for the 'damned lies' translation statistics program
138- Luke Macken's bodhi update system, used extensively as a reference point
139- Conference organizers for giving the chance to spread the word
140- Everyone who provided feedback and ideas for improvement
Note: See TracBrowser for help on using the browser.