Extract languages from config