Fixed language autodetection in Synthesiser. Fix #40