text which is not explicitly marked in a different language, irrespective
of the multilingual status, except for LTR<=>RTL changes.
See discussion in this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/138380
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39721
a592a061-630c-0410-9148-
cb99ea01b6c8
Language const * newL = languages.getLanguage(argument);
if (!newL || oldL == newL)
break;
- if (oldL->rightToLeft() == newL->rightToLeft() && !buffer_.isMultiLingual()) {
+ if (oldL->rightToLeft() == newL->rightToLeft()) {
cur.recordUndoFullDocument();
buffer_.changeLanguage(oldL, newL);
cur.setCurrentFont();
in the document body (e.g., through \input or \insertgraphics) are
included in the archive.
+- When changing the document language, also change the language of the
+ text which is not explicitly marked in a different language, irrespective
+ of the multilingual status, except for LTR<=>RTL changes.
+
* DOCUMENTATION AND LOCALIZATION