From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QH8dN25/CWZQSAEAe85BDQ:P1 (envelope-from ) for ; Sun, 31 Mar 2024 17:21:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QH8dN25/CWZQSAEAe85BDQ (envelope-from ) for ; Sun, 31 Mar 2024 17:21:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=J5ZVf0HP; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711898478; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hoBkyz9EGsCWll4+ZHRRTVSiXxpVSthsWedPKrwaC8E=; b=k0YuqNL09YlELkmEoy+3OFbVQac+F9IPwyFmCYQXKuNu6DbsEfbuda9ePYSf17UrtN02Ml OpYqWUAPPBVj/VysjpOgh2h0bznNvbiqtUFGwzbVeDczf3N5K2MEU+bdfL4r5DkC1M6RqX eqgG5exAeJbT/YoKT1bGwsyxUMAuk2BiwcFKIYaVTBi4PRaIdhDC2nXg6jgZ1F0q9jTOC8 CE62EtauYEU9Q2fF9MRZ6jVSSnWhnOh9tPv3B+8di7SGxQoi1D6lCfpGCeQGR+Kp54WOdA njdLTLCUpAMV8x/Znu+CvoB+HXth3F3kifH01aI6GxQS9LicG0pHK1szlC9/GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=J5ZVf0HP; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711898478; a=rsa-sha256; cv=none; b=WMtb+vynUzO2yjomhntAetJ+I5y7nw+3rO3kYE2t4033LfYu5zhdhib+nK+izzLOYNfrV0 wBKKCju+7iyWz54LcY95Wu0fX2HRAeXbD2SUJLYHP4vfygDnsrZucN5VloK/OKj4SyMPvI RELV7Mq5pudtGX/kPFecObN4ga1WDNJ7yktuDeHc+QQPRR6ALeL/53WJsuBhYxQXFrKid0 y7xhQweAb+6XbalUqKbwCpzIeddABhH0xxJdVcQ4unDjwHvumOyCKwC//rcWuWUW7F5kv+ sbIJxUj9z8919WtAQhrYchibaeHpj9QChFAJetn2821rhnth9GdDX0xiTpFswg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 92B3211907 for ; Sun, 31 Mar 2024 17:21:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqwyv-0005Xr-B0; Sun, 31 Mar 2024 11:20:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqwyt-0005XU-5G for emacs-orgmode@gnu.org; Sun, 31 Mar 2024 11:20:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqwyq-0007iK-Qt for emacs-orgmode@gnu.org; Sun, 31 Mar 2024 11:20:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 64694240104 for ; Sun, 31 Mar 2024 17:20:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711898417; bh=q9zbhyvvbJae6Oz5zb1CHnhQqPh/PE65cOy1AekZhOA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=J5ZVf0HPygYCiqY/WpjBjRM2uK8Z6QiN5qowLODK1mDkTBuuE3dKjS9ElOBOcvjWX nyLFnFL5YMoHHrBXrPPk3GMG4CKaURB1lsZ4wo7oikWmI0cVkjZaHgf1RHkJAnbh6A 7CAxKBZ7FthRNtgg+BF+Kc+3VTl0Ss3shmirRA7zbKMRYuE9uy6wQyLCoUKv/OAm0t Frrg4YFwDIqgD6HLwuVx+5oLZABH3wXmg6ca/D2rGhO7KO7QwFg0w+RmiuTXEjoziX TEc0tD2xFHVy/uCqogtAGtBKpkJsh7vDlQL4X1/FsACMl8JKtxuyDoSNcLYDrnb76M yzkM76CO9JmEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V6yWN47xQz6tsB; Sun, 31 Mar 2024 17:20:16 +0200 (CEST) From: Ihor Radchenko To: Daniel Clemente Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: [proof of concept] inline language blocks In-Reply-To: References: <87msrudgcn.fsf@posteo.net> Date: Sun, 31 Mar 2024 15:20:23 +0000 Message-ID: <874jcma0nc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.53 X-Migadu-Queue-Id: 92B3211907 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.53 X-TUID: qnr9HJJDzIoa Daniel Clemente 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-AD1215BAB33B@traductaire-libre.org/ -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at