Fixed build errors in translations