Use yaml files as translation files in flask
Use YAML files for i18n in Flask It requires Python2.6+ as it uses string.format syntax. Or you can modify it to python2.5 ‘%s’ syntax.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.