Fix translations generation