Messages of the UI are not always translated (Sells, graphs' legends)
The messages returned by the api are not.
Problem visible in:
-
page Sells -
graphs legends on /stats page -
error messages that appear in bootstrap alerts
When POSTing to "/es/api/sell" from JS, angular does a GET to "/fr/"... which doesn't work. We kept the urls "/api/" outside the i18n patterns.
Ideas: https://stackoverflow.com/questions/1795701/django-reverse-for-javascript