![]() |
11 years ago | |
---|---|---|
ffdnispdb | 11 years ago | |
.gitignore | 11 years ago | |
AUTHORS | 11 years ago | |
LICENSE | 11 years ago | |
README.md | 11 years ago | |
TODO | 11 years ago | |
babel.cfg | 11 years ago | |
manage.py | 11 years ago | |
requirements.txt | 11 years ago | |
schema.sql | 12 years ago | |
settings_dev.py | 11 years ago | |
settings_prod.py.dist | 11 years ago | |
test_ffdnispdb.py | 11 years ago | |
variables.less | 11 years ago |
ffdnispdb
is a website designed to display all the ISPs implementing the
ispschema
specification.
Preferably in a virtualenv, run:
pip install -r requirements.txt
python shell.py
>> db.create_all()
python run.py
First, generate the template:
pybabel extract -F babel.cfg -o messages.pot ffdnispdb
Then initialize the catalog for the language you want:
pybabel init -i messages.pot -d ffdnispdb/translations -l XX
(where XX is the language code)
Once you're done translating, run:
pybabel compile -d ffdnispdb/translations
To update the catalog with the latest strings:
pybabel extract -F babel.cfg -o messages.pot ffdnispdb
pybabel update -i messages.pot -d ffdnispdb/translations