Fixed translateKey bug