trying to resolve _translate undefined