How can keywords be escaped when passing the --keyword argument? We use static calls to fetch translations, i.e. in the form Language::getText('foo');
I’m afraid you only have three options:
Language::getText
method call.xgettext
and submit a patch to GNU gettext project.