Added support for translate attribute