fixed spec for translation generation