fixed a bug in translations of categories.