Skip to content
Flask demo application with PhraseApp integration
Python HTML CSS
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 Initial commit Jan 21, 2015
LICENSE add license file Jun 21, 2016
README.md Update README.md Nov 13, 2018
babel.cfg add localization via Flask-Babel Jan 23, 2015
config.py use PhraseApp In-Context-Editor v2 Aug 31, 2015
flaskr.db add vanilla flask demo app Jan 23, 2015
flaskr.py
schema.sql
test_flaskr.py add vanilla flask demo app Jan 23, 2015

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.