Skip to content
Flask demo application with PhraseApp integration
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
translations/de/LC_MESSAGES
.gitignore
LICENSE
README.md
babel.cfg add localization via Flask-Babel Jan 23, 2015
config.py
flaskr.db add vanilla flask demo app Jan 23, 2015
flaskr.py
schema.sql
test_flaskr.py

README.md

flask-demo-application

A simple Flask demo application showing PhraseApp In-Context-Editor integration. Built on top of Flaskr, the Flask tutorial app.

For a full step-by-step tutorial, check out our blog post: Localization For Flask Applications

Install

Clone this repository

git clone https://github.com/phrase/flask-demo-application

Install the required dependencies:

pip install flask flask-phrase

Configure your ProjectID in templates/layout.html

projectId: "YOUR-PROJECT-ID"

Run the app!

python flaskr.py

Further reading

You can’t perform that action at this time.