Daniel Clemente <n142...@gmail.com> writes: > Sorry for joining the discussion a bit late. A long time ago I created a > syntax to be able to mix languages in that way, and a program to separate > each version into a different file. > > Info: https://www.danielclemente.com/dislines/ > Sample: https://www.danielclemente.com/dislines/perl.txt > Syntax: https://www.danielclemente.com/dislines/syntax.en.html > Syntax in practice: https://www.danielclemente.com/dislines/quick.en.txt > > It's format-agnostic, and unrelated to org. I have used it in plain HTML > and other file types. > ...
AFAIK, the common tool for this kind of tasks is GNU gettext and .po files. See https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html and recent discussion in https://yhetil.org/emacs-devel/1e3685c0-7b33-45bb-bf3c-ad1215bab...@traductaire-libre.org/ -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>