Fix generation translation on save.