Add cache support for translator