Script for initialising i18n for a Flask site using pybabel and goslate
Nice script! Found it very helpful to get started and test flask babel and see first translations.

A few "bugs" I discovered for your consideration


Any string with a ' will cause problems
Same with other special characters, e.g. ()


The resulting po file mixes entries later on and generates strings like:

#: dedri/templates/contact.html:29
msgid "Your email"
msgstr "Aboutmsgstr \"about (modificado por Raimundo)\" #: dedri / templates / about.html:            13 msgid \"Aquí añadimos unas pocas palabras acerca de cada uno de nosotros.\" msgstr \"Aquí añadimos Unas Palabras Sobre CADA UNO de Nosotros here.\" #: Dedri / templates / contact.html: 29 msgid \"Your email\""