prepare layouts for translate