From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IC7lNe+OomBnyAAAgWs5BA (envelope-from ) for ; Mon, 17 May 2021 17:42:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ELp3Me+OomC/dgAAbx9fmQ (envelope-from ) for ; Mon, 17 May 2021 15:42:39 +0000 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 3C898256E7 for ; Mon, 17 May 2021 17:42:39 +0200 (CEST) Received: from localhost ([::1]:45580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lifO9-00015f-1s for larch@yhetil.org; Mon, 17 May 2021 11:42:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lifNS-00015V-Pd for emacs-orgmode@gnu.org; Mon, 17 May 2021 11:41:54 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lifNQ-0004Se-9v for emacs-orgmode@gnu.org; Mon, 17 May 2021 11:41:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0EBFB240029 for ; Mon, 17 May 2021 17:41:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1621266109; bh=tlouGAvQGyF6W1q+2i4AjZK9FmAzMLJCVNkv6gReoTM=; h=From:To:Subject:Date:From; b=EXgL9fsGA+Ev2RN+2nC7teJb0fJ1cSPIR2PRBwQDeR/408BmsJ5X2ynJIC9t+XRU/ 1hPQscmBglnkVmzG+oZ6QAVkh/SCzsxPM8Zp63wjyXf+dSeuakCcB/CCKKGZP1nyXU paqyM1Wq0u3OB02ZOP8ep3fHS6W0k/+9HqGX1+rjRtqCNzpIuZrb9892iyaepqO22u hvzGd1eh+3DsNxoOild5dwfoz4xT++K7J7iCs00/RR2HxLSoKdcqe4JIeM9kmFO096 9aDDMxQupOE49ECm5NUhq+V9Iv+/CO8s4SLUk/2wA7S0J3OO8bUfu1TjS+fQ16Z9NU PgsK7Z6MjjyRQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FkNfN1SxSz6tm4 for ; Mon, 17 May 2021 17:41:47 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Multilingual support (proposals and state of the question) Date: Mon, 17 May 2021 15:41:47 +0000 Message-ID: <87o8d95pvo.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621266159; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=o4fjal1fWP0VgvdkDWIIzmkGhmg0mGS9+XXdTHn+f8A=; b=jtqnbp2B6ObsHlJrDVb1pwnjIKiiP9sWRTHSla6EEdFU/HYX7pWi7HOP/B6ltdfHgSkQ4c ayZoZpMb6I0kBq1v8Br2B1CInbhdL8KY3H3C3fAmM5geRrS4JqDjYR2dHh6kfWmIo4vGMt E1+si965pLgSoz/JLGZMjNayahpwOGsRn1fdiefr6Id68DhQ+sXeexhE5SEDYEG0OmtgQ6 JMhsNsPt77WelkNehNYZVOEgO4+iM4OM8Z42c6OHUbBJ8dwion1lty/BM9mrGU57vAtIRL Tuf4cwazberYmr9Uyeu1lhsDFxskC2uC8e+O3lrMBg5zTqGPrHscLPX/ak7P7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621266159; a=rsa-sha256; cv=none; b=IBWzMEw7ubzTycb6agND4EikszEAeGb8Bqy+fm0afRyZdWqNALV71BBKScXrCqFYv5QQnQ G9ar+5pjrX/n+fXArOJvMHAtT1CPYXUDrO9FT9fRL+GC6bhq23gwhwqun2M4cU7E+cfL7m t8pW2Sibkuwi6hf3JcCEzl1ZPJawGtxFZrqGKFvjHQxW0XbyI3UKQtz1sj0DyfrTKmHs1M W+v27UZTlbyO/q2bpxsgWFYvaAYmDc6b6AQMcj+TVkwQ7uZ1QQmJoSzG42VN8mZEj6f6aS a7ozSQbFgTPCL/eKno8z01bcmYksNyzWztmMGLRNBC9P/wjXg/OhZwmiaoYMuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EXgL9fsG; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EXgL9fsG; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 3C898256E7 X-Spam-Score: -1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8X/mA3NC2BtH Hi all, I would like to start a thread on this question, leaving some basic ideas and sketches of my own, in case someone else wanted to join the discussion. I think it would be nice if Org Mode offered consistent support (out of the box) for multilingual documents. That is, those documents where there is a main language and it is possible to toggle between a list of others 'secondary' languages, in the LaTeX Babel way. Those documents could be consistently exported to other formats with multilingual support: LaTeX, of course, but also html, odt, etc. What is your opinion? I think Org documents should have three levels in multilingual management: - Short text segments, something like an 'inline block' for other languages - Blocks - Sections For short inline segments, IMHO and without the need to innovate, I think an excellent candidate are the links defined with org-link-set-parameters. For example: Lorem ipsum [[lang:de][some text in German]] dolor sit amet (For structures of this kind I found very interesting ideas here: https://github.com/alhassy/org-special-block-extras) As for blocks, I think of a hypothetical 'lang' block: #+begin_lang el :variant polytonic Some text in polytonic Greek... #+end_lang However, in a previous thread (https://orgmode.org/list/87k0og8fss.fsf@list.aleks.bg/) Aleksandar Dimitrov proposed an idea that seemed very suggestive, at least in concept: add a ':lang' argument to the Org code blocks: #+begin_src org :lang fr Some text in french #+end_src And finally, for sections, you could think of a new property ':lang:' * Header :PROPERTIES: :LANG: pt :END: ... Best regards, Juan Manuel