base for process language hook