Fix translations in mixins. Cherry picked from 3.0.x