Source

django-pyconfr /

Filename Size Date modified Message
conf/locale/fr/LC_MESSAGES
src/pyconfr
379 B
1.0 KB
728 B
35 B
3.7 KB
2.1 KB
1.9 KB

README

Install & Run

Clone, buildout and fresh start:

cd ~/work/afpy/pyconfr/
hg clone https://florent@bitbucket.org/toopy/django-pyconfr
virtualenv -p python2.7 --no-site-packages env
source env/bin/activate
cd django-pyconfr/
pip install -U setuptools
python bootstrap.py
./bin/django syncdb
./bin/django collectstatic
./bin/django runserver

Gunicorn start:

./bin/django run_gunicorn -b 127.0.0.1:8001

Translation

Translation are done in *.po files, in the conf/locale/ directory. Once the translations are done, they need to be compiled:

./bin/django compilemessages

Django uses user preference to determine which language you use.