Add codes for translation

Add codes for translation