fixed translation extension to work with xgettext