Fix to case issue in call of translate