fixed translation + several fixes in codecanvas