Example application

A simple example application demonstrating Invenio-I18N language rendering.

First, install and set up the example application:

$ pip install -e .[all]
$ cd examples
$ ./app-setup.sh

Now start the example application server:

$ FLASK_APP=app.py flask run --debugger -p 5000

The example application will render “Hello World” and display the language selectors for English, Danish and Spanish. It will allow you to change the text to the given language.

You can uninstall the example application as follows:

$ ./app-teardown.sh