On 10/30/2011 07:39 AM, Abdelrazak Younes wrote:
For example, what would need to be changed if I
just introduce \begin{otherlanguage}{xyz} \end{otherlanguage} as the
environment of the inset?
Probably no source code change is required for that simple change. Have
a look at InsetFlex.
Think I don't need to reply to this as I see that you've just read my
answer to Richard @ #7848 (InsetFlex would be a workaround, not the
proper solution, IMO).
How to tell the spell checker that the inset is using some other
language?
LyX is already checking the language before spell-checking.
Yes, of course. I always mix what's shown in "View Source" with what's
the inner doc format of LyX.