This is no issue in LaTeX when using babel and multilingual documents, if the main document language uses the Latin, Greek or Cyrillic script and other languages are never completely switched to, only used temporarily. When trying to write a document whose main language doesn't, however (for example Hebrew), punctuation marks can't be found. How could I resolve this?
Minimal example code (I use LuaTeX, the same issue appears on XeTeX as well):
\documentclass{article}
\usepackage[bidi=basic]{babel}
\babelprovide[import, main]{hebrew}
\babelfont{rm}{Noto Serif}
\babelfont{sf}{Noto Sans}
\babelfont{tt}{Noto Sans Mono}
\babelfont[hebrew]{rm}{Noto Serif Hebrew}
\babelfont[hebrew]{sf}{Noto Sans Hebrew}
\babelfont[hebrew]{tt}{Liberation Mono} %% No mono font for Hebrew
\begin{document}
בראשית ברא אלוהים את־השמים ואת־הארץ:
%% No colon :-(
\end{document}