From 2ae5b9ae72150d998654ab016501dd4bf884a8ef Mon Sep 17 00:00:00 2001 From: Julia Jennifer Beine <136423186+juliajbeine@users.noreply.github.com> Date: Sun, 21 Dec 2025 13:50:17 +0100 Subject: [PATCH 1/3] Update dracor.odd Add a passage on how to encode a mix of languages. --- dracor.odd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/dracor.odd b/dracor.odd index bb1989b..669b83a 100644 --- a/dracor.odd +++ b/dracor.odd @@ -1756,6 +1756,30 @@ for unknown speakers, see https://github.com/dracor-org/dracor-schema/issues/106 --> +
+ Mix of Languages in Text +

+ A play may feature words, speeches or entire scenes in a + language other than the main language of the play. + Examples for this phenomenon may be found in NeoLatDraCor, + RomDraCor, UDraCor, or YiDraCor. The passages are encoded + as follows. Add the xml:lang attribute to the + highest possible element, e.g. a sp or div + element. + If there is no element to add the xml:lang + attribute to, use the foreign tag to mark up the + respective word or passage. This case may apply to single + words or sentences within a speech, stage direction, or + similar. The foreign element is used to mark up + words or passages in another language. For words or passages + in a dialect other than the main language of a play, use the + distinct element. +

+
+ From 52f4a7992dfa0db8ed370e43f1369e9964bbbfe3 Mon Sep 17 00:00:00 2001 From: Julia Jennifer Beine <136423186+juliajbeine@users.noreply.github.com> Date: Sun, 21 Dec 2025 19:19:22 +0100 Subject: [PATCH 2/3] Update dracor.odd Correct tags. --- dracor.odd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracor.odd b/dracor.odd index 669b83a..6109eff 100644 --- a/dracor.odd +++ b/dracor.odd @@ -1763,7 +1763,7 @@ language other than the main language of the play. Examples for this phenomenon may be found in NeoLatDraCor, RomDraCor, UDraCor, or YiDraCor. The passages are encoded - as follows. Add the xml:lang attribute to the + as follows. Add the xml:lang attribute to the highest possible element, e.g. a sp or div element. If there is no element to add the xml:lang From a3e329881d7e5b2dd68c645ff79497fcb3ecaced Mon Sep 17 00:00:00 2001 From: Julia Jennifer Beine <136423186+juliajbeine@users.noreply.github.com> Date: Sun, 21 Dec 2025 19:20:16 +0100 Subject: [PATCH 3/3] Update dracor.odd Correct tags --- dracor.odd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracor.odd b/dracor.odd index 6109eff..c1401e1 100644 --- a/dracor.odd +++ b/dracor.odd @@ -1766,7 +1766,7 @@ as follows. Add the xml:lang attribute to the highest possible element, e.g. a sp or div element. - If there is no element to add the xml:lang + If there is no element to add the xml:lang attribute to, use the foreign tag to mark up the respective word or passage. This case may apply to single words or sentences within a speech, stage direction, or