translate nested class