added trimming of key strings in translations