quick fixes to make it works under django 1.5 with i18n