if (!lyxrc.language_auto_end && !params().language->babel().empty()) { os << from_utf8(subst(lyxrc.language_command_end, "$$lang", params().language->babel())) << '\n'; texrow().newline(); }
But what is the difference to the case when auto_end is activated? thanks and regards Uwe