Use language detection in translation

If no from_lang is specified, use language detection.