Optimize the styles and related translations