refactored gettext_call() function

hopefully better...