![]() |
il y a 11 ans | |
---|---|---|
ffdnispdb | il y a 11 ans | |
.gitignore | il y a 11 ans | |
AUTHORS | il y a 11 ans | |
LICENSE | il y a 11 ans | |
README.md | il y a 11 ans | |
TODO | il y a 11 ans | |
babel.cfg | il y a 11 ans | |
manage.py | il y a 11 ans | |
requirements.txt | il y a 11 ans | |
schema.sql | il y a 12 ans | |
settings_dev.py | il y a 11 ans | |
settings_prod.py.dist | il y a 11 ans | |
test_ffdnispdb.py | il y a 11 ans | |
variables.less | il y a 11 ans |
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