Refining language switching and bidi.