I want to use Microsoft Translator instead of default Django translator. I have override below function with my own custom function in .html and .py files as per this Documentation and it’s working fine.
from django.utils.translation import ugettext
But there are in java script gettext syntax used to translate any sentence i.e.
gettext('Email Address (Sign In)'). Is there any way to override gettext function ? I want to use Microsoft translation APIs.
Please let me know if anyone has used any other method for translation.