Search results

Matches found for tag 'Javascript': 1

6 January 2020 Updated 9 January 2020 by Peter
post main image
This Flask website is multilanguage. The implementation is described in previous posts. So far all my translations were in the Python code and the HTML templates. On a few places I needed some translations in Javascript and did this by pulling this Javascript code inline in the HTML template. For example, for forms I needed: e.target.setCustomValidity('Please fill out this field.'); I ...
Read more