I'm trying to set a german text with some hebrew paragraphs. Footnotes should be LTR. There is one apparatus with paragraph footnotes and one in two column mode. Forcing the german local in the twocolumn worked with \beforeinsertingX, but for the paragraph footnotes the marker is one the wrong side. I had to use \notenumfontX to correct this, which doesn't feel like the right hook.
\documentclass{article}
\usepackage[ngerman,bidi=basic,layout=footnotes]{babel}
\babelprovide[import,onchar=ids fonts]{hebrew}
\babelprovide[onchar=ids fonts]{ngerman}
\babelfont[ngerman]{rm}{TeXGyreHeros}
\babelfont[hebrew]{rm}{FreeSerif}
\usepackage[noend]{reledmac}
\arrangementX[A]{paragraph}
\renewcommand\thefootnoteA{\alph{footnoteA}}
\arrangementX[B]{twocol}
%\beforeinsertingX[A]{\selectlanguage{ngerman}} %fails
%\wrapcontentX[A]{\foreignlanguage{ngerman}} %fails
%\notenumfontX[A]{\normalfont\selectlanguage{ngerman}} %works
\beforeinsertingX[B]{\selectlanguage{ngerman}}
\usepackage{kantlipsum}
\begin{document}
blub\footnoteA{footnote A}blub\footnoteB{footnote B}blub\footnoteA{another footnote A}blub\footnoteB{another footnote}
\begin{selectlanguage}{hebrew}
חלוקת עולם הטבע לשלוש ממלכות,\footnoteB{footnote B in heb} בספרו של ארנסט הקל משנת
\footnoteA{footnote A in heb}תורת :
\end{selectlanguage}
blub\footnoteA{footnote A}blub\footnoteB{footnote B}blub\footnoteA{another footnote A}blub\footnoteB{another footnote}
\end{document}

I'm trying to set a german text with some hebrew paragraphs. Footnotes should be LTR. There is one apparatus with paragraph footnotes and one in two column mode. Forcing the german local in the twocolumn worked with
\beforeinsertingX, but for the paragraph footnotes the marker is one the wrong side. I had to use\notenumfontXto correct this, which doesn't feel like the right hook.