Implement translate method