[gettext](https://docs.djangoproject.com/en/dev/topics/i18n/translation/#s-using-the-javascript-translation-catalog) function is used for internationalization in javascript.