Convert html to slim and adds translations