add support for context in the gettext translate adapter