texlive[73666] Master/texmf-dist: polyglossia (31jan25)

commits+karl at tug.org commits+karl at tug.org
Fri Jan 31 23:12:45 CET 2025


Revision: 73666
          https://tug.org/svn/texlive?view=revision&revision=73666
Author:   karl
Date:     2025-01-31 23:12:45 +0100 (Fri, 31 Jan 2025)
Log Message:
-----------
polyglossia (31jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/polyglossia/README.md
    trunk/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
    trunk/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-acadian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-classiclatin.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ecclesiasticlatin.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-medievallatin.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-odia.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-or.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
    trunk/Master/texmf-dist/tex/latex/polyglossia/hebrewcal.sty
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-cjk-spacing.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua
    trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty

Modified: trunk/Master/texmf-dist/doc/latex/polyglossia/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/polyglossia/README.md	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/doc/latex/polyglossia/README.md	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-# THE POLYGLOSSIA PACKAGE v2.3
+# THE POLYGLOSSIA PACKAGE v2.4
 ## Multilingual typesetting with XeLaTeX and LuaLaTeX
 
 This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX.
@@ -26,8 +26,8 @@
 
 # LICENCE
 
-Copyright (c) 2008-2010 François Charette, 2013 Élie Roux, 2011-2024 Arthur Reutenauer,
-Copyright (c) 2019-2023 Bastien Roucariès, 2019-2024 Jürgen Spitzmüller, 2023-2024 Udi Fogiel
+Copyright (c) 2008-2010 François Charette, 2013 Élie Roux, 2011-2025 Arthur Reutenauer,
+Copyright (c) 2019-2023 Bastien Roucariès, 2019-2025 Jürgen Spitzmüller, 2023-2025 Udi Fogiel
 
 Except where otherwise noted, Polyglossia is placed under the terms of the MIT licence
 (https://opensource.org/licenses/MIT).

Modified: trunk/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex	2025-01-31 22:12:45 UTC (rev 73666)
@@ -2729,6 +2729,18 @@
 
 \bgroup\footnotesize
 
+\subsection*{2.4 (2025/01/31)}
+
+\subsubsection*{Bug fixes}
+\begin{itemize}
+	\item Fix \xpgoption{changecounternumbering} option of Bengali (\TXI{672}).
+	\item Fix testing of languages in groups (\TXI{669}).
+	\item Fix error with undefined internal command (¦\xpg_pop_language:¦) that should be defined (\TXI{671}).
+	\item The command \cmd\familytype\ is now predefined again independent of font settings, and its
+	      name was changed to ¦\l_xpg_familytype_tl¦.
+	\item A warning is now issued if \pkg{babel} is loaded in parallel with \pkg{polyglossia}.
+\end{itemize}
+
 \subsection*{2.3 (2024/09/23)}
 
 \subsubsection*{Bug fixes}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-acadian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-acadian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-acadian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-acadien.ldf}[polyglossia: module for Canadian (Acadian) French]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-aeb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-aeb.ldf}[polyglossia: module for aeb (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-af.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-af.ldf}[polyglossia: module for af (Afrikaans)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-afb.ldf}[polyglossia: module for afb (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-afrikaans.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-afrikaans.ldf}[polyglossia: module for Afrikaans]
 
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=AFK,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{afrikaans}{af}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-albanian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-albanian.ldf}[polyglossia: module for Albanian]
 
@@ -10,8 +10,7 @@
   langtag=SQI,
   hyphenmins={2,2},
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{albanian}{sq}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-am.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-am.ldf}[polyglossia: module for am (Amharic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-american.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-american.ldf}[polyglossia: module for American English]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-amharic.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-amharic.ldf}[polyglossia: module for Amharic]
 \PolyglossiaSetup{amharic}{
@@ -10,8 +10,7 @@
   langtag=AMH,
   hyphennames={amharic,nohyphenation},
   %hyphenmins={2,2},
-  fontsetup=true,
-  %TODO localalph=ethnum
+   %TODO localalph=ethnum
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-apd.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-apd.ldf}[polyglossia: module for apd (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-IQ.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-IQ.ldf}[polyglossia: module for ar-IQ (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-JO.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-JO.ldf}[polyglossia: module for ar-JO (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-LB.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-LB.ldf}[polyglossia: module for ar-LB (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-MR.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-MR.ldf}[polyglossia: module for ar-MR (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-PS.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-PS.ldf}[polyglossia: module for ar-PS (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-SY.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-SY.ldf}[polyglossia: module for ar-SY (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar-YE.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar-YE.ldf}[polyglossia: module for ar-YE (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ar.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ar.ldf}[polyglossia: module for ar (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arabic.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-arabic.ldf}[polyglossia: module for Arabic]
 \RequireBidi
@@ -15,9 +15,9 @@
   langtag=ARA,
   scripttag=arab,
   hyphennames={nohyphenation},
-  fontsetup=true,
   envname=Arabic,
-  localnumeral=arabicnumerals
+  localnumeral=arabicnumerals,
+  Localnumeral=arabicnumerals
   %TODO localalph={abjad,abjad}
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-armenian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-armenian.ldf}[polyglossia: module for Armenian]
 
@@ -12,8 +12,8 @@
   langtag=HYE,
   hyphennames={armenian},
   hyphenmins={2,2},
-  fontsetup=true,
-  localnumeral=armeniannumerals
+  localnumeral=armeniannumerals,
+  Localnumeral=armeniannumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arq.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-arq.ldf}[polyglossia: module for arq (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ary.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ary.ldf}[polyglossia: module for ary (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-arz.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-arz.ldf}[polyglossia: module for arz (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ast.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ast.ldf}[polyglossia: module for ast (Asturian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-asturian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % Translated by Xuacu <xuacusk8 at gmail dot com>
 % Contributed by Kevin Godby <godbyk at gmail dot com>
@@ -13,8 +13,7 @@
   langtag=AST,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{asturian}{ast}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-australian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-australian.ldf}[polyglossia: module for Australian English]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-austrian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-austrian.ldf}[polyglossia: module for Austrian German (old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ayl.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ayl.ldf}[polyglossia: module for ayl (Arabic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasa.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bahasa.ldf}[polyglossia: module for Bahasa Indonesia]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasai.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for Bahasa Indonesia]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bahasam.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for Bahasa Melayu]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-basque.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-basque.ldf}[polyglossia: module for Basque]
 \PolyglossiaSetup{basque}{
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=EUQ,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{basque}{eu}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be-tarask.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-be-tarask.ldf}[polyglossia: module for be-tarask (Belarusian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-be.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-be.ldf}[polyglossia: module for be (Belarusian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-belarusian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-belarusian.ldf}[polyglossia: module for Belarusian]
 
@@ -16,7 +16,6 @@
   hyphennames={belarusian},
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup,
   localnumeral=belarusiannumerals,
   Localnumeral=Belarusiannumerals
 }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bengali.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % Translations provided by সাজেদুর রহিম জোয়ারদার <toshazed at gmail.com>
 % TODO implement Bengali calendar
@@ -17,8 +17,8 @@
   langtag=BEN,
   hyphennames={bengali},
   hyphenmins={2,2},%CHECK
-  fontsetup=true,
-  localnumeral=bengalinumerals
+  localnumeral=bengalinumerals,
+  Localnumeral=bengalinumerals
   %TODO nouppercase=true,
 }
 
@@ -56,7 +56,7 @@
   }
 
 % Register default options
-\InitializeGlossOptions{bengali}{changecounternumbering=false,numerals=Devanagari}
+\InitializeGlossOptions{bengali}{changecounternumbering=false,numerals=devanagari}
 
 \def\captionsbengali{%
   \def\refname{তথ্যসূত্রসমূহ}%

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bg.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bg.ldf}[polyglossia: module for bg (Bulgarian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bn.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bn.ldf}[polyglossia: module for bn (Bengali)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bo.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bo.ldf}[polyglossia: module for bo (Tibetan)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bosnian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bosnian.ldf}[polyglossia: module for Bosnian]
 
@@ -13,7 +13,6 @@
   hyphenmins={2,2}, % adapted from gloss-croatian
   frenchspacing=true, % adapted from gloss-croatian
   indentfirst=false, % adapted from gloss-croatian
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-br.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-br.ldf}[polyglossia: module for br (Breton)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-brazil.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-brazil.ldf}[polyglossia: module for Brazilian Portuguese]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-breton.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-breton.ldf}[polyglossia: module for Breton]
 \PolyglossiaSetup{breton}{
@@ -11,8 +11,7 @@
   langtag=BRE,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{breton}{br}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-british.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-british.ldf}[polyglossia: module for British English]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bs.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bs.ldf}[polyglossia: module for bs (Bosnian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-bulgarian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for Bulgarian]
 \PolyglossiaSetup{bulgarian}{
@@ -12,8 +12,7 @@
   hyphennames={bulgarian},
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup
-  %TODO localalph=bulgarian at alph
+   %TODO localalph=bulgarian at alph
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ca.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ca.ldf}[polyglossia: module for ca (Catalan)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-canadian.ldf}[polyglossia: module for Canadian English]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-canadien.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-canadien.ldf}[polyglossia: module for Canadian French]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-catalan.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-catalan.ldf}[polyglossia: module for Catalan]
 \PolyglossiaSetup{catalan}{
@@ -10,8 +10,7 @@
   langtag=CAT,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{catalan}{ca}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-chinese.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-chinese.ldf}[polyglossia: module for Chinese]
 
@@ -13,8 +13,8 @@
     langtag=ZHS,
     hyphennames={nohyphenation},
     frenchspacing=false,
-    fontsetup=true,
-    localnumeral=chinesenumerals
+    localnumeral=chinesenumerals,
+    Localnumeral=chinesenumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Arab.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ckb-Arab.ldf}[polyglossia: module for ckb-Arab (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb-Latn.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ckb-Latn.ldf}[polyglossia: module for ckb-Latn (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ckb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ckb.ldf}[polyglossia: module for ckb (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-classiclatin.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-classiclatin.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-classiclatin.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-classiclatin.ldf}[polyglossia: module for classic Latin]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cop.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-cop.ldf}[polyglossia: module for cop (Coptic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-coptic.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-coptic.ldf}[polyglossia: module for Coptic]
 \PolyglossiaSetup{coptic}{
@@ -11,7 +11,6 @@
   langtag=COP,
   hyphennames={coptic},
   hyphenmins={2,2},
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-croatian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-croatian.ldf}[polyglossia: module for Croatian]
 \PolyglossiaSetup{croatian}{
@@ -10,7 +10,6 @@
   hyphenmins={2,2}, % aligned with https://ctan.org/pkg/hrhyph patterns and http://lebesgue.math.hr/~nenad/Diplomski/Maja_Ribaric_2011.pdf
   frenchspacing=true, % recommendation from Damir Bralić
   indentfirst=false, % recommendation from Damir Bralić
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cy.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-cy.ldf}[polyglossia: module for cy (Welsh)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-cz.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-cz.ldf}[polyglossia: module for cz (Czech)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-czech.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-czech.ldf}[polyglossia: module for Czech]
 
@@ -11,8 +11,7 @@
   hyphenmins={2,2},
   langtag=CSY,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{czech}{cz}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-da.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-da.ldf}[polyglossia: module for da (Danish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-danish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-danish.ldf}[polyglossia: module for Danish]
 \PolyglossiaSetup{danish}{
@@ -9,8 +9,7 @@
   hyphenmins={2,3},
   langtag=DAN,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{danish}{da}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1901.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-AT-1901.ldf}[polyglossia: module for de-AT-1901 (Austrian German, old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT-1996.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-AT-1996.ldf}[polyglossia: module for de-AT-1996 (Austrian German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-AT.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-AT.ldf}[polyglossia: module for de-AT (Austrian German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1901.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-CH-1901.ldf}[polyglossia: module for de-CH-1901 (Swiss German, old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH-1996.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-CH-1996.ldf}[polyglossia: module for de-CH-1996 (Swiss German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-CH.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-CH.ldf}[polyglossia: module for de-CH (Swiss German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1901.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-DE-1901.ldf}[polyglossia: module for de-DE-1901 (Germany's German, old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE-1996.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-DE-1996.ldf}[polyglossia: module for de-DE-1996 (Germany's German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-DE.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-DE.ldf}[polyglossia: module for de-DE (Germany's German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1901.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-AT-1901-Latf.ldf}[polyglossia: module for de-AT-1901-Latf (Austrian German, old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT-1996.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-AT-1996-Latf.ldf}[polyglossia: module for de-AT-1996-Latf (Austrian German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-AT.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-AT-Latf.ldf}[polyglossia: module for de-AT-Latf (Austrian German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1901.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-CH-1901-Latf.ldf}[polyglossia: module for de-CH-1901-Latf (Swiss German, old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH-1996.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-CH-1996-Latf.ldf}[polyglossia: module for de-CH-1996-Latf (Swiss German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-CH.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-CH-Latf.ldf}[polyglossia: module for de-CH-Latf (Swiss German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1901.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-DE-1901-Latf.ldf}[polyglossia: module for de-DE-1901-Latf (Germany's German, old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE-1996.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-DE-1996-Latf.ldf}[polyglossia: module for de-DE-1996-Latf (Germany's German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf-DE.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-DE-Latf.ldf}[polyglossia: module for de-DE-Latf (Germany's German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de-Latf.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de-Latf.ldf}[polyglossia: module for de-Latf (German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-de.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-de.ldf}[polyglossia: module for de (German)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-divehi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-divehi.ldf}[polyglossia: module for Divehi]
 
@@ -12,7 +12,6 @@
   langtag=DIV,% TODO Support DHV as well?
   direction=RL,
   hyphennames={nohyphenation},
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dsb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-dsb.ldf}[polyglossia: module for dsb (Sorbian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dutch.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-dutch.ldf}[polyglossia: module for Dutch]
 \PolyglossiaSetup{dutch}{
@@ -9,8 +9,7 @@
   hyphenmins={2,2},
   langtag=NLD,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{dutch}{nl}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-dv.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-dv.ldf}[polyglossia: module for dv (Divehi)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ecclesiasticlatin.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ecclesiasticlatin.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ecclesiasticlatin.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ecclesiasticlatin.ldf}[polyglossia: module for ecclesiastic Latin]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-monoton.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-el-monoton.ldf}[polyglossia: module for el-monoton (Greek)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el-polyton.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-el-polyton.ldf}[polyglossia: module for el-polyton (Greek)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-el.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-el.ldf}[polyglossia: module for el (Greek)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-AU.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-en-AU.ldf}[polyglossia: module for en-AU (Australian English)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-CA.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-en-CA.ldf}[polyglossia: module for en-CA (Canadian English)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-GB.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-en-GB.ldf}[polyglossia: module for en-GB (British English)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-NZ.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-en-NZ.ldf}[polyglossia: module for en-NZ (Newzealand English)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en-US.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-en-US.ldf}[polyglossia: module for en-US (American English)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-en.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-en.ldf}[polyglossia: module for en (English)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-english.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-english.ldf}[polyglossia: module for English]
 
@@ -10,8 +10,7 @@
   hyphennames={english,american,usenglish,USenglish},
   hyphenmins={2,3},
   langtag=ENG,
-  fontsetup=true,
-  babelname=english
+   babelname=english
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eo.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-eo.ldf}[polyglossia: module for eo (Esperanto)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-ES.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-es-ES.ldf}[polyglossia: module for es-ES (Spain's Spanish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es-MX.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-es-MX.ldf}[polyglossia: module for es-MX (Mexican Spanish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-es.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-es.ldf}[polyglossia: module for es (Spanish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-esperanto.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for Esperanto]
 \PolyglossiaSetup{esperanto}{
@@ -8,8 +8,7 @@
   hyphennames={esperanto},
   hyphenmins={2,2},
   langtag=NTO,
-  fontsetup=true,
-  %TODO localalph={esperanto at alph,esperanto at Alph}
+   %TODO localalph={esperanto at alph,esperanto at Alph}
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-estonian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-estonian.ldf}[polyglossia: module for Estonian]
 \PolyglossiaSetup{estonian}{
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=ETI,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{estonian}{et}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-et.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-et.ldf}[polyglossia: module for et (Estonian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-eu.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-eu.ldf}[polyglossia: module for eu (Basque)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fa.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fa.ldf}[polyglossia: module for fa (Persian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-farsi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-farsi.ldf}[polyglossia: module for Farsi]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fi.ldf}[polyglossia: module for fi (Finnish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-finnish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-finnish.ldf}[polyglossia: module for Finnish]
 \PolyglossiaSetup{finnish}{
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=FIN,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{finnish}{fi}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA-u-sd-canb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fr-CA-u-sd-canb.ldf}[polyglossia: module for fr-CA-u-sd-canb (Canadian French, Acadian subvariety)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CA.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fr-CA.ldf}[polyglossia: module for fr-CA (Canadian French)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-CH.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fr-CH.ldf}[polyglossia: module for fr-CH (Swiss French)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr-FR.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fr-FR.ldf}[polyglossia: module for fr-FR (France's French)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fr.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fr.ldf}[polyglossia: module for fr (French)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-french.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-french.ldf}[polyglossia: module for French]
 
@@ -14,7 +14,7 @@
   frenchspacing=true,
   indentfirst=true,
   hyphenmins={2,2},
-  fontsetup=true}
+}
 
 % BCP-47 compliant aliases
 \setlanguagealias*{french}{fr}
@@ -208,9 +208,9 @@
       \XeTeXinterchartoks \z@ \french at questionexclamation = {\xpg at french@thinsp}%
       \XeTeXinterchartoks \z@ \french at punctthin = {\xpg at french@thinsp}%
       \XeTeXinterchartoks \z@ \french at punctthick = {\nobreakspace}%
-      \XeTeXinterchartoks \xpg at boundaryclass \french at questionexclamation = {\xpg at unskip\xpg at french@thinsp}%
-      \XeTeXinterchartoks \xpg at boundaryclass \french at punctthin = {\xpg at unskip\xpg at french@thinsp}%
-      \XeTeXinterchartoks \xpg at boundaryclass \french at punctthick = {\xpg at unskip\nobreakspace}%
+      \XeTeXinterchartoks \e at alloc@intercharclass at top \french at questionexclamation = {\xpg at unskip\xpg at french@thinsp}%
+      \XeTeXinterchartoks \e at alloc@intercharclass at top \french at punctthin = {\xpg at unskip\xpg at french@thinsp}%
+      \XeTeXinterchartoks \e at alloc@intercharclass at top \french at punctthick = {\xpg at unskip\nobreakspace}%
       \iffrench at autospaceguillemets
         \let\xpg at french@guillspace\xpg at french@thinsp%
         \XeTeXinterchartoks \french at punctguillstart \z@ = {\xpg at french@guillspace}% "«a" -> "«\,a"
@@ -218,8 +218,8 @@
  %      \XeTeXinterchartoks \z@ \french at punctguillstart = {\nobreakspace}% "a«" unchanged?
  %      \XeTeXinterchartoks \french at punctguillend \z@ = {\nobreakspace}% "»a" unchanged?
         \XeTeXinterchartoks \z@ \french at punctguillend = {\xpg at french@guillspace}% "a»" -> "a\,»"
-        \XeTeXinterchartoks \french at punctguillstart \xpg at boundaryclass = {\xpg at french@guillspace\ignorespaces}% "«  " -> "«\,"
-        \XeTeXinterchartoks \xpg at boundaryclass \french at punctguillend = {\xpg at unskip\xpg at french@guillspace}% "  »" -> "\,»"
+        \XeTeXinterchartoks \french at punctguillstart \e at alloc@intercharclass at top = {\xpg at french@guillspace\ignorespaces}% "«  " -> "«\,"
+        \XeTeXinterchartoks \e at alloc@intercharclass at top \french at punctguillend = {\xpg at unskip\xpg at french@guillspace}% "  »" -> "\,»"
         \XeTeXinterchartoks \french at closebrackets \french at punctguillend = {\xpg at french@guillspace}% ")»" -> ")\,»"
         \XeTeXinterchartoks \french at questionexclamation \french at punctguillend  = {\xpg at french@guillspace}% "?»" -> "?\,»"
         \XeTeXinterchartoks \french at punctthin \french at punctguillend  = {\xpg at french@guillspace}% ";»" -> ";\,»"

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulan.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-friulan.ldf}[polyglossia: module for Friulian]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-friulian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-friulian.ldf}[polyglossia: module for Friulian]
 
@@ -12,8 +12,7 @@
   hyphenmins={2,2},
   langtag=FRL,
   indentfirst=false,
-  fontsetup=true,
-  frenchspacing=true,
+   frenchspacing=true,
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-fur.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-fur.ldf}[polyglossia: module for fur (Friulian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ga.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ga.ldf}[polyglossia: module for ga (Gaelic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gaelic.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-gaelic.ldf}[polyglossia: module for Gaelic]
 
@@ -11,8 +11,7 @@
   hyphennames={irish},
   hyphenmins={2,2},
   langtag=IRI,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*[variant=irish]{gaelic}{ga}
@@ -30,13 +29,11 @@
       {%
         \gdef\gaelic at variant{irish}%
         \SetLanguageKeys{gaelic}{language=Irish,langtag=IRI,babelname=irish,bcp47=ga,bcp47-language=ga}%
-        \SetupLatinPolyglossiaFont{gaelic}%
       },
     variant / scottish.code =
       {%
         \gdef\gaelic at variant{scottish}%
         \SetLanguageKeys{gaelic}{language=Gaelic,langtag=GAE,babelname=scottish,bcp47=gd,bcp47-language=gd}%
-        \SetupLatinPolyglossiaFont{gaelic}%
       },
     variant.default:n = irish,
     variant/unknown.code = \xpg at warning{Unknown gaelic variant `#1'}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-galician.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-galician.ldf}[polyglossia: module for Galician]
 \PolyglossiaSetup{galician}{
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=GAL,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{galician}{gl}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gd.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-gd.ldf}[polyglossia: module for gd (Gaelic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-georgian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-georgian.ldf}[polyglossia: module for Georgian]
 
@@ -10,8 +10,8 @@
   scripttag=geor,
   langtag=KAT,
   hyphennames={georgian},
-  fontsetup=true,
-  localnumeral=georgiannumerals
+  localnumeral=georgiannumerals,
+  Localnumeral=georgiannumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-german.ldf}[polyglossia: module for German]
 
@@ -10,8 +10,7 @@
   bcp47-script=Latn,
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup=true,
-  langtag=DEU,
+   langtag=DEU,
   babelname=ngerman
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-germanb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-germanb.ldf}[polyglossia: module for German (old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-gl.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-gl.ldf}[polyglossia: module for gl (Galician)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-grc.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-grc.ldf}[polyglossia: module for grc (Greek)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-greek.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-greek.ldf}[polyglossia: module for Greek]
 
@@ -14,8 +14,7 @@
   langtag=ELL,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-  localnumeral=greeknumerals,
+   localnumeral=greeknumerals,
   Localnumeral=Greeknumerals
   %TODO localalph={greek at alph,greek at Alph}
 }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-he.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-he.ldf}[polyglossia: module for he (Hebrew)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hebrew.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for Hebrew]
 
@@ -15,8 +15,8 @@
   scripttag=hebr,
   langtag=IWR,
   hyphennames={nohyphenation},
-  fontsetup=true,
-  localnumeral=hebrewnumerals
+  localnumeral=hebrewnumerals,
+  Localnumeral=hebrewnumerals
   %TODO localalph={hebrewnumeral,Hebrewnumeral}
   %digits = hebrewnumber
 }
@@ -29,11 +29,11 @@
 
 \DeclareKeys[polyglossia/gloss/hebrew]
   {
-    marcheshvan.code = \setkeys{hebrewcal}{marcheshvan=#1},
+    marcheshvan.meta:nn = {hebrewcal}{marcheshvan=#1},
     marcheshvan.default:n = true,
-    transliteration.code = \setkeys{hebrewcal}{transliteration=#1},
+    transliteration.meta:nn = {hebrewcal}{transliteration=#1},
     transliteration.default:n = alt,
-    fullyear.code = \setkeys{hebrewcal}{fullyear=#1},
+    fullyear.meta:nn = {hebrewcal}{fullyear=#1},
     fullyear.default:n = true,
     calendar.choice:,
     calendar / hebrew.code =
@@ -61,9 +61,6 @@
     numerals/unknown.code = \xpg at warning{Unknown Hebrew numerals value `#1'}
   }
 
-
-\SetGlossOptions{hebrew}{numerals}
-
 % Register default options
 \InitializeGlossOptions{hebrew}{numerals=arabic,calendar=gregorian,marcheshvan=false,fullyear=false}
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hi.ldf}[polyglossia: module for hi (Hindi)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hindi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % UTF-8 strings kindly provided by Zdenĕk Wagner, 10-03-2008
 % with corrections and additional contributions by Anshuman Pandey
@@ -15,8 +15,8 @@
   scripttag=deva,
   langtag=HIN,
 %%  hyphennames={hindi,!sanskrit}, TODO: implement fallback patterns (with ! prefix)
-  fontsetup=true,
-  localnumeral=hindinumerals
+  localnumeral=hindinumerals,
+  Localnumeral=hindinumerals
   %TODO nouppercase=true,
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hr.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hr.ldf}[polyglossia: module for hr (Croatian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hsb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hsb.ldf}[polyglossia: module for hsb (Higher Sorbian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hu.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hu.ldf}[polyglossia: module for hu (Hungarian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hungarian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hungarian.ldf}[polyglossia: module for Hungarian]
 
@@ -11,8 +11,7 @@
   hyphennames={hungarian,magyar},
   langtag=HUN,
   hyphenmins={2,2},
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{hungarian}{hu}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-hy.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-hy.ldf}[polyglossia: module for hy (Armenian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ia.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ia.ldf}[polyglossia: module for ia (Interlingua)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-icelandic.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for Icelandic]
 \PolyglossiaSetup{icelandic}{
@@ -8,8 +8,7 @@
   hyphennames={icelandic},
   hyphenmins={2,2},
   langtag=ISL,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{icelandic}{is}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-id.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-id.ldf}[polyglossia: module for id (Malay)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-interlingua.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for Interlingua]
 \PolyglossiaSetup{interlingua}{
@@ -10,8 +10,7 @@
   langtag=INA,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{interlingua}{ia}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-irish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-irish.ldf}[polyglossia: module for Irish]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-is.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-is.ldf}[polyglossia: module for is (Icelandic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-it.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-it.ldf}[polyglossia: module for it (Italian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,5 +1,5 @@
 % !TEX encoding = UTF-8 Unicode
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-italian.ldf}[polyglossia: module for Italian]
 \PolyglossiaSetup{italian}{
@@ -12,8 +12,7 @@
   langtag=ITA,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{italian}{it}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ja.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ja.ldf}[polyglossia: module for ja (Japanese)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-japanese.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-japanese.ldf}[polyglossia: module for Japanese]
 
@@ -13,8 +13,8 @@
 	langtag=JAN,
 	hyphennames={nohyphenation},
 	frenchspacing=false,
-	fontsetup=true,
-	localnumeral=japanesenumerals
+	localnumeral=japanesenumerals,
+	Localnumeral=japanesenumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ka.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ka.ldf}[polyglossia: module for ka (Georgian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kannada.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,5 +1,5 @@
 %% gloss-kannada.ldf
-%% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+%% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %%
 %% Copyright 2011 Aravinda VK <hallimanearavind AT gmail.com>,
 %%                Shankar Prasad <prasad.mvs AT gmail.com>,
@@ -30,8 +30,8 @@
   langtag=KAN,
   hyphennames={kannada},
   hyphenmins={2,2}, 
-  fontsetup=true,
-  localnumeral=kannadanumerals
+  localnumeral=kannadanumerals,
+  Localnumeral=kannadanumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-khmer.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-khmer.ldf}[polyglossia: module for Khmer]
 \PolyglossiaSetup{khmer}{
@@ -6,12 +6,12 @@
   bcp47-language=km,
   bcp47-region=KH,
   bcp47-script=Khmr,
-  script=Khmer,%
-  scripttag=khmr,%
-  langtag=KHM,%
-  hyphennames={nohyphenation},%
-  fontsetup=true,%
-  localnumeral=khmernumerals%
+  script=Khmer,
+  scripttag=khmr,
+  langtag=KHM,
+  hyphennames={nohyphenation},
+  localnumeral=khmernumerals,
+  Localnumeral=khmernumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-km.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-km.ldf}[polyglossia: module for km (Khmer)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Arab.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-kmr-Arab.ldf}[polyglossia: module for kmr-Arab (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr-Latn.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-kmr-Latn.ldf}[polyglossia: module for kmr-Latn (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kmr.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-kmr.ldf}[polyglossia: module for kmr (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kn.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-kn.ldf}[polyglossia: module for kn (Kannada)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ko.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ko.ldf}[polyglossia: module for ko (Korean)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-korean.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-korean.ldf}[polyglossia: module for Korean]
 
@@ -11,8 +11,7 @@
   language=Korean,
   langtag=KOR,
   hyphennames={nohyphenation},
-  frenchspacing=true,
-  fontsetup=true
+  frenchspacing=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Arab.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ku-Arab.ldf}[polyglossia: module for ku-Arab (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku-Latn.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ku-Latn.ldf}[polyglossia: module for ku-Latn (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ku.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ku.ldf}[polyglossia: module for ku (Kurdish)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurdish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % Created on September 1, 2019
 % Last updated on May 17, 2020
@@ -21,8 +21,8 @@
   scripttag=arab,
   langtag=KUR,
   hyphennames={nohyphenation},
-  fontsetup=true,
-  localnumeral=kurdishnumerals
+  localnumeral=kurdishnumerals,
+  Localnumeral=kurdishnumerals
 }
 
 % BCP-47 compliant aliases
@@ -60,7 +60,6 @@
          \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurdish,bcp47=ckb-Arab,bcp47-language=ckb,bcp47-script=Arab,bcp47-casing=ckb-Arab}%
      \fi
      \def\kurdish at script{latin}
-     \SetupLatinPolyglossiaFont{kurdish}%
   \else
      \if at kurdish@arabic% arabic explicitly set
         \if at kurdish@kurmanji
@@ -70,16 +69,13 @@
         \else
             \SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurdish,bcp47=ckb-Arab,bcp47-language=ckb,bcp47-script=Arab,bcp47-casing=ckb-Arab}%
         \fi
-        \SetupNonLatinPolyglossiaFont{kurdish}%
      \else% sorani=arabic, kurmanji=latin
         \if at kurdish@kurmanji
             \@western at numeralstrue%
             \SetLanguageKeys{kurdish}{script=Latin,direction=LR,scripttag=latn,babelname=kurmanji,bcp47=kmr-Latn,bcp47-language=kmr,bcp47-script=Latn,bcp47-casing=kmr-Latn}%
-            \SetupLatinPolyglossiaFont{kurdish}%
             \def\kurdish at script{latin}
         \else
             \SetLanguageKeys{kurdish}{script=Arabic,direction=RL,scripttag=arab,babelname=kurdish,bcp47=ckb-Arab,bcp47-language=ckb,bcp47-script=Arab,bcp47-casing=ckb-Arab}%
-            \SetupNonLatinPolyglossiaFont{kurdish}%
         \fi
      \fi
   \fi

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-kurmanji.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-kurmanji.ldf}[polyglossia: module for Kurmanji Kurdish]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-classic.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-la-xclassic.ldf}[polyglossia: module for la-xclassic (Latin)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-ecclesia.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-la-xecclesiastic.ldf}[polyglossia: module for la-xecclesiastic (Latin)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la-x-medieval.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-la-xmedieval.ldf}[polyglossia: module for la-xmedieval (Latin)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-la.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-la.ldf}[polyglossia: module for la (Latin)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao]
 
@@ -11,8 +11,8 @@
   langtag=LAO,
   hyphennames={lao},
   hyphenmins={1,1},
-  fontsetup=true,
-  localnumeral=laonumerals
+  localnumeral=laonumerals,
+  Localnumeral=laonumerals
   %TODO localalph={xxx at alph,xxx at Alph}
   %TODO localdigits=laonumber
 }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latex.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-latex.ldf}[polyglossia: module for default language]
 
@@ -10,8 +10,7 @@
   hyphennames={english},
   hyphenmins={2,3},
   langtag=ENG,
-  fontsetup=true,
-  % ignore command
+   % ignore command
   DefineCommandsCmd={use_none:n}
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latin.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-latin.ldf}[polyglossia: module for Latin]
 
@@ -11,7 +11,6 @@
     bcp47-script = Latn,
     hyphenmins = {2,2},
     frenchspacing = true,
-    fontsetup = true,
     langtag = LAT
   }
 
@@ -219,7 +218,7 @@
             \polyglossia_latin_insert_punctuation_space:
           }
         % opening guillemet followed by a space
-        \XeTeXinterchartoks \g_polyglossia_latin_opening_guillemet_class \xpg at boundaryclass =
+        \XeTeXinterchartoks \g_polyglossia_latin_opening_guillemet_class \e at alloc@intercharclass at top =
           {
             \polyglossia_latin_replace_following_space:
           }
@@ -249,17 +248,17 @@
             \polyglossia_latin_insert_punctuation_space:
           }
         % space followed by a question or exclamation mark
-        \XeTeXinterchartoks \xpg at boundaryclass \g_polyglossia_latin_question_exclamation_class =
+        \XeTeXinterchartoks \e at alloc@intercharclass at top \g_polyglossia_latin_question_exclamation_class =
           {
             \polyglossia_latin_replace_preceding_space:
           }
         % space followed by a colon or semicolon
-        \XeTeXinterchartoks \xpg at boundaryclass \g_polyglossia_latin_colon_semicolon_class =
+        \XeTeXinterchartoks \e at alloc@intercharclass at top \g_polyglossia_latin_colon_semicolon_class =
           {
             \polyglossia_latin_replace_preceding_space:
           }
         % space followed by closing guillemet
-        \XeTeXinterchartoks \xpg at boundaryclass \g_polyglossia_latin_closing_guillemet_class =
+        \XeTeXinterchartoks \e at alloc@intercharclass at top \g_polyglossia_latin_closing_guillemet_class =
           {
             \polyglossia_latin_replace_preceding_space:
           }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-latvian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-latvian.ldf}[polyglossia: module for Latvian]
 \PolyglossiaSetup{latvian}{
@@ -9,8 +9,7 @@
   hyphennames={latvian},
   hyphenmins={2,2},
   langtag=LVI,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{latvian}{lv}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lithuanian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % Translated by Paulius Sladkevičius <komsas at gmail.com>
 
@@ -12,7 +12,6 @@
   hyphenmins={2,2},
   langtag=LTH,
   indentfirst=true,
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lo.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-lo.ldf}[polyglossia: module for lo (Lao)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lowersorbian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-lowersorbian.ldf}[polyglossia: module for Lower Sorbian]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lsorbian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for Lower Sorbian]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lt.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-lt.ldf}[polyglossia: module for lt (Lithuanian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-lv.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-lv.ldf}[polyglossia: module for lv (Latvian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-macedonian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-macedonian.ldf}[polyglossia: module for Macedonian]
 \PolyglossiaSetup{macedonian}{
@@ -11,8 +11,7 @@
   hyphennames={macedonian},
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{macedonian}{mk}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-magyar.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-magyar.ldf}[polyglossia: module for Hungarian (Magyar)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malay.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-malay.ldf}[polyglossia: module for Malay]
 
@@ -12,7 +12,6 @@
   langtag=MLY,
   hyphennames={malay,melayu,bahasam,bahasai,indonesian,indon,bahasa},
   hyphenmins={2,2},
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases
@@ -39,7 +38,6 @@
         \def\malay at variant{indonesian}%
         \malay at melayufalse
         \SetLanguageKeys{malay}{language=Indonesian,langtag=IND,babelname=bahasa,bcp47=id,bcp47-language=id}%
-        \SetupLatinPolyglossiaFont{malay}%
         % Check if \l at indonesian is defined. If not, try to set it to some variety
         % (specific order as in the csv list), or null language if everything fails
         \TryPatternWithFallback{indonesian}{indon,bahasai,bahasam,malay,melayu,bahasa}%
@@ -49,7 +47,6 @@
         \def\malay at variant{malay}%
         \malay at melayutrue
         \SetLanguageKeys{malay}{language=Malay,langtag=MLY,babelname=bahasam,bcp47=zsm,bcp47-language=zsm}%
-        \SetupLatinPolyglossiaFont{malay}%
         % Check if \l at malay is defined. If not, try to set it to some variety
         % (specific order as in the csv list), or null language if everything fails
         \TryPatternWithFallback{malay}{melayu,bahasam,bahasai,indonesian,indon,bahasa}%

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-malayalam.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for Malayalam]
 
@@ -13,8 +13,7 @@
   langtag=MAL, %FIXME there is also MLR for "Malayalam Reformed"
   hyphennames={malayalam},
   hyphenmins={2,2}, %FIXME
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{malayalam}{ml}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-marathi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % Translations provided by Abhijit Navale <abhi_navale at live.in>
 % Ordinals (1-100) added by Niranjan Tambe <niranjanvikastambe at gmail.com> on 14th December, 2019
@@ -17,8 +17,8 @@
   langtag=MAR,
   hyphennames={marathi},
   hyphenmins={2,2},%CHECK
-  fontsetup=true,
-  localnumeral=marathinumerals
+  localnumeral=marathinumerals,
+  Localnumeral=marathinumerals
   %TODO nouppercase=true,
 }
 
@@ -46,7 +46,7 @@
   }
 
 % Register default options
-\InitializeGlossOptions{marathi}{numerals=Devanagari}
+\InitializeGlossOptions{marathi}{numerals=devanagari}
 
 \newcommand{\marathinumerals}[2]{\marathinumber{#2}}
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-medievallatin.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-medievallatin.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-medievallatin.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-medievallatin.ldf}[polyglossia: module for medieval Latin]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mk.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-mk.ldf}[polyglossia: module for mk (Macedonian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ml.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ml.ldf}[polyglossia: module for ml (Malayalam)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mn.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-mn.ldf}[polyglossia: module for mn (Mongolian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mongolian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-mongolian.ldf}[polyglossia: module for Mongolian]
 
@@ -14,7 +14,6 @@
   hyphennames={mongolian},
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup,
   localnumeral=mongoliannumerals,
   Localnumeral=Mongoliannumerals
 }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-mr.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-mr.ldf}[polyglossia: module for mr (Marathi)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-naustrian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-naustrian.ldf}[polyglossia: module for Austrian German (current spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nb.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-nb.ldf}[polyglossia: module for nb (Norwegian)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-newzealand.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-newzealand.ldf}[polyglossia: module for Newzealand English]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ngerman.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ngerman.ldf}[polyglossia: module for German (current spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nko.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-nko.ldf}[Polyglossia: module for N’Ko]
 \PolyglossiaSetup{nko}{%
@@ -8,12 +8,13 @@
   script=N'ko,
   scripttag=nko~,
   langtag=NKO,
-  fontsetup=true,
   hyphennames={nohyphenation},
   direction=RL,
-  localnumeral=nkonumerals
+  localnumeral=nkonumerals,
+  Localnumeral=nkonumerals
 }
 
+\RequireBidi
 \RequirePackage{nkonumbers}%
 
 \newcommand{\nkonumerals}[2]{\nkonumber{#2}}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norsk.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-norsk.ldf}[polyglossia: module for Norwegian (Bokmal)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-norwegian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-norwegian.ldf}[polyglossia: module for Norwegian]
 \PolyglossiaSetup{norwegian}{
@@ -9,8 +9,7 @@
   langtag=NYN,
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup=false,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*[variant=bokmal]{norwegian}{nb}
@@ -28,13 +27,11 @@
       {%
           \def\norwegian at variant{nynorsk}%
           \SetLanguageKeys{norwegian}{langtag=NYN,babelname=nynorsk,bcp47=nn,bcp47-language=nn}%
-          \SetupLatinPolyglossiaFont{norwegian}%
       },
     variant / bokmal.code =
       {%
           \def\norwegian at variant{norsk}%
           \SetLanguageKeys{norwegian}{langtag=NOR,babelname=norsk,bcp47=nb,bcp47-language=nb}%
-          \SetupLatinPolyglossiaFont{norwegian}%
       },
     variant.default:n = nynorsk,
     variant/unknown.code = \xpg at warning{Unknown norwegian variant `#1'}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nswissgerman.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-nswissgerman.ldf}[polyglossia: module for Swiss German (current spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-nynorsk.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for Norwegian (Nynorsk)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-occitan.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 %%
 %% This is file `gloss-occitan.ldf',
@@ -28,8 +28,7 @@
   hyphenmins={2,2},
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{occitan}{oc}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-odia.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-odia.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-odia.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % Translations provided by ଅଶୋକ ଦାସ୍ <das at pas.rochester.edu> and ଅଭିଷେକ ଜେନା <avisekjena at gmail.com>
 % TODO implement Odia calendar
@@ -17,8 +17,8 @@
   langtag=ODI,
   hyphennames={odia},
   hyphenmins={2,2},%CHECK
-  fontsetup=true,
-  localnumeral=odianumerals
+  localnumeral=odianumerals,
+  Localnumeral=odianumerals
   %TODO nouppercase=true,
 }
 
@@ -60,7 +60,7 @@
   }
 
 % Register default options
-\InitializeGlossOptions{odia}{changecounternumbering=false,numerals=Devanagari}
+\InitializeGlossOptions{odia}{changecounternumbering=false,numerals=devanagari}
 
 \def\captionsodia{%
   \def\refname{ସନ୍ଦର୍ଭ}%

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-or.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-or.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-or.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-odia.ldf}[polyglossia: module for or (Odia)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-pa.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-pa.ldf}[polyglossia: module for pa (Punjabi)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-persian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-persian.ldf}[polyglossia: module for Persian]
 
@@ -16,8 +16,8 @@
   scripttag=arab,
   langtag=FAR,
   hyphennames={nohyphenation},
-  fontsetup=true,
-  localnumeral=farsinumerals
+  localnumeral=farsinumerals,
+  Localnumeral=farsinumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-piedmontese.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,5 +1,5 @@
 % !TEX encoding = UTF-8 Unicode
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for Piedmontese]
 \makeatletter
@@ -11,8 +11,7 @@
   hyphenmins={2,2},
   langtag=PMS,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{piedmontese}{pms}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-polish.ldf}[polyglossia: module for Polish]
 
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=PLK,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{polish}{pl}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-polutonikogreek.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-polutonikogreek.ldf}[polyglossia: module for polytonic Greek]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-portuges.ldf}[polyglossia: module for Portuguese]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-portuguese.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-portuguese.ldf}[polyglossia: module for Portuguese]
 
@@ -11,8 +11,7 @@
   hyphennames={portuges,portuguese},
   hyphenmins={2,3},
   langtag=PTG,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*[variant=portuguese]{portuguese}{pt-PT}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-punjabi.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 % UTF-8 strings kindly provided by 
 % Arvinder Singh Kang, <17-11-2022>
@@ -15,8 +15,8 @@
   scripttag=gur,
   langtag=pan,
 %%  hyphennames={panjabi,punjabi,gurmukhi}, TODO: implement fallback patterns (with ! prefix)
-  fontsetup=true,
-  localnumeral=punjabinumerals
+  localnumeral=punjabinumerals,
+  Localnumeral=punjabinumerals
   %TODO nouppercase=true,
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romanian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-romanian.ldf}[polyglossia: module for Romanian]
 
@@ -9,8 +9,7 @@
   hyphennames={romanian},
   hyphenmins={2,2},
   langtag=ROM,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{romanian}{ro}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-romansh.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-romansh.ldf}[polyglossia: module for Romansh]
 \makeatletter
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=RMS,
   indentfirst=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{romansh}{rm}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-russian.ldf}[polyglossia: module for Russian]
 
@@ -16,7 +16,6 @@
   hyphenmins={2,2},
   frenchspacing=true,
   indentfirst=true,
-  fontsetup,
   localnumeral=russiannumerals,
   Localnumeral=Russiannumerals
 }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sami.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-sami.ldf}[polyglossia: module for Sami]
 
@@ -11,8 +11,7 @@
   hyphenmins={2,2},
   language={Northern Sami},
   langtag=NSM,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{sami}{se}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-samin.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-samin.ldf}[polyglossia: module for Northern Sami]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sanskrit.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for Sanskrit]
 
@@ -13,8 +13,8 @@
   hyphennames={sanskrit,prakrit},
   hyphenmins={1,3},
   frenchspacing=true,
-  fontsetup=false, % will be done below
-  localnumeral=sanskritnumerals
+  localnumeral=sanskritnumerals,
+  Localnumeral=sanskritnumerals
 }
 
 % BCP-47 compliant aliases
@@ -28,28 +28,20 @@
 \setlanguagealias*[script=latin]{sanskrit}{sa-Latn}
 
 \def\fontsetup at sanskrit@devanagari{%
-  \SetLanguageKeys{sanskrit}{scripttag=deva,script=Devanagari,bcp47=sa-Deva,bcp47-language=sa,bcp47-script=Deva,bcp47-casing=sa-Deva}%
-  \SetupNonLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=deva,script=Devanagari,bcp47=sa-Deva,bcp47-language=sa,bcp47-script=Deva,bcp47-casing=sa-Deva}}
 \def\fontsetup at sanskrit@gujarati{%
-  \SetLanguageKeys{sanskrit}{scripttag=gujr,script=Gujarati,bcp47=sa-Gujr,bcp47-language=sa,bcp47-script=Gujr,bcp47-casing=sa-Gujr}%
-  \SetupNonLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=gujr,script=Gujarati,bcp47=sa-Gujr,bcp47-language=sa,bcp47-script=Gujr,bcp47-casing=sa-Gujr}}
 \def\fontsetup at sanskrit@malayalam{%
-  \SetLanguageKeys{sanskrit}{scripttag=mlym,script=Malayalam,bcp47=sa-Mlym,bcp47-language=sa,bcp47-script=Mlym,bcp47-casing=sa-Mlym}%
-  \SetupNonLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=mlym,script=Malayalam,bcp47=sa-Mlym,bcp47-language=sa,bcp47-script=Mlym,bcp47-casing=sa-Mlym}}
 \def\fontsetup at sanskrit@bengali{%
-  \SetLanguageKeys{sanskrit}{scripttag=beng,script=Bengali,bcp47=sa-Beng,bcp47-language=sa,bcp47-script=Beng,bcp47-casing=sa-Beng}%
-  \SetupNonLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=beng,script=Bengali,bcp47=sa-Beng,bcp47-language=sa,bcp47-script=Beng,bcp47-casing=sa-Beng}}
 \def\fontsetup at sanskrit@kannada{%
-  \SetLanguageKeys{sanskrit}{scripttag=knda,script=Kannada,bcp47=sa-Knda,bcp47-language=sa,bcp47-script=Knda,bcp47-casing=sa-Knda}%
-  \SetupNonLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=knda,script=Kannada,bcp47=sa-Knda,bcp47-language=sa,bcp47-script=Knda,bcp47-casing=sa-Knda}}
 \def\fontsetup at sanskrit@telugu{%
-  \SetLanguageKeys{sanskrit}{scripttag=telu,script=Telugu,bcp47=sa-Relu,bcp47-language=sa,bcp47-script=Relu,bcp47-casing=sa-Relu}%
-  \SetupNonLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=telu,script=Telugu,bcp47=sa-Relu,bcp47-language=sa,bcp47-script=Relu,bcp47-casing=sa-Relu}}
 \def\fontsetup at sanskrit@latin{%
-  \SetLanguageKeys{sanskrit}{scripttag=latn,script=Latin,bcp47=sa-Latn,bcp47-language=sa,bcp47-script=Latn,bcp47-casing=sa-Latn}%
-  \SetupLatinPolyglossiaFont{sanskrit}}
+  \SetLanguageKeys{sanskrit}{scripttag=latn,script=Latin,bcp47=sa-Latn,bcp47-language=sa,bcp47-script=Latn,bcp47-casing=sa-Latn}}
 
-
 \newif\ifsanskrit at devanagari@numerals
 \sanskrit at devanagari@numeralstrue
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-scottish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-scottish.ldf}[polyglossia: module for Scottish Gaelic]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-serbian.ldf}[polyglossia: module for Serbian]
 %TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf
@@ -19,8 +19,7 @@
   hyphenmins={2,2},
   frenchspacing=true, % Правопис српскога језика, Матица српска, 2010. (измењено и допуњено, четврто издање): т. 188, под Обликовање ступца и пасуса
   indentfirst=true, % Правопис српскога језика, Матица српска, 2010. (измењено и допуњено, четврто издање): т. 188, под Обликовање ступца и пасуса
-  fontsetup=false,
-  localnumeral=serbiannumerals,
+   localnumeral=serbiannumerals,
   Localnumeral=Serbiannumerals,
   babelname=serbian
   %TODO localalph
@@ -83,13 +82,11 @@
     script / cyrillic.code =
       {%
         \@serbian at cyrtrue
-        \SetupNonLatinPolyglossiaFont{serbian}%
         \serbian at set@languagekeys
       },
     script / latin.code =
       {%
         \@serbian at cyrfalse
-        \SetupLatinPolyglossiaFont{serbian}%
           %TODO \def\serbian at language{\language=\l at serbianlat}%
           % or should we use Croatian patterns as a fallback for the time being???
         \serbian at set@languagekeys

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-serbianc.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-serbianc.ldf}[polyglossia: module for Serbian (cyrillic)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovak.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-slovak.ldf}[polyglossia: module for Slovak]
 
@@ -9,8 +9,7 @@
   hyphennames={slovak},
   hyphenmins={2,2},
   langtag=SKY,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{slovak}{sk}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovene.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-slovene.ldf}[polyglossia: module for Slovenian]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-slovenian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-slovenian.ldf}[polyglossia: module for Slovenian]
 
@@ -10,8 +10,7 @@
   babelname=slovene,
   hyphenmins={2,2},
   langtag=SLV,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{slovenian}{sl}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-sorbian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-sorbian.ldf}[polyglossia: module for Sorbian]
 
@@ -11,8 +11,7 @@
   hyphennames={usorbian,uppersorbian},
   langtag=USB,
   hyphenmins={2,2},
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*[variant=upper]{sorbian}{hsb}
@@ -36,7 +35,6 @@
       {%
         \def\sorbian at variant{usorbian}%
         \SetLanguageKeys{sorbian}{language=Upper Sorbian,langtag=USB,babelname=uppersorbian,bcp47=hsb,bcp47-language=hsb}%
-        \SetupLatinPolyglossiaFont{sorbian}%
         % Check if \l at usorbian is defined. If not, try to set it to some variety
         % (specific order as in the csv list), or null language if everything fails
         \TryPatternWithFallback{usorbian}{uppersorbian}%
@@ -45,7 +43,6 @@
       {%
         \def\sorbian at variant{lsorbian}%
         \SetLanguageKeys{sorbian}{language=Lower Sorbian,langtag=LSB,babelname=lowersorbian,bcp47=dsb,bcp47-language=dsb}%
-        \SetupLatinPolyglossiaFont{sorbian}%
         % Check if \l at lsorbian is defined. If not, try to set it to some variety
         % (specific order as in the csv list), or null language if everything fails
         \TryPatternWithFallback{lsorbian}{lowersorbian,Lsorbian,usorbian,uppersorbian}%

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-spanish.ldf}[polyglossia: module for Spanish]
 
@@ -13,8 +13,7 @@
   langtag=ESP,
   frenchspacing=true,
   indentfirst=true,
-  fontsetup=true,
-  babelname=spanish
+   babelname=spanish
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-spanishmx.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-spanishmx.ldf}[polyglossia: module for Mexican Spanish]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-swedish.ldf}[polyglossia: module for Swedish]
 
@@ -10,8 +10,7 @@
   hyphenmins={2,2},
   langtag=SVE,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{swedish}{sv}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-swissgerman.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-swissgerman.ldf}[polyglossia: module for Swiss German (old spelling)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-syriac.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-syriac.ldf}[polyglossia: module for Syriac]
 
@@ -14,9 +14,8 @@
   langtag=SYR,
   direction=RL,
   hyphennames={syriac,nohyphenation},
-  fontsetup=true,
-  localnumeral=syriacnumerals
-  %TODO localalph
+  localnumeral=syriacnumerals,
+  Localnumeral=syriacnumerals
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tamil.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-tamil.ldf}[polyglossia: module for Tamil]
 
@@ -13,8 +13,7 @@
   langtag=TAM,
   hyphennames={tamil},
   hyphenmins={2,2}, %FIXME?
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{tamil}{ta}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-telugu.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-telugu.ldf}[polyglossia: module for Telugu]
 
@@ -13,8 +13,7 @@
   langtag=TEL,
   hyphennames={telugu},
   hyphenmins={2,2}, %FIXME
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{telugu}{te}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-thai.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-thai.ldf}[polyglossia: module for Thai]
 %% This is partly based on thai-latex for Babel:
@@ -18,8 +18,8 @@
   scripttag=thai,
   langtag=THA,
   hyphennames={nohyphenation},
-  fontsetup=true,
-  localnumeral=thainumerals
+  localnumeral=thainumerals,
+  Localnumeral=thainumerals
   %TODO localalph={xxx at alph,xxx at Alph}
   %TODO localdigits=thainumber
 }

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-tibetan.ldf}[polyglossia: module for Tibetan]
 %% Copyright 2013 Elie Roux
@@ -15,8 +15,8 @@
   scripttag=tibt,
   langtag=TIB,
   hyphennames={nohyphenation},
-  fontsetup=true,
-  localnumeral=tibetannumerals
+  localnumeral=tibetannumerals,
+  Localnumeral=tibetannumerals
   %TODO localalph={xxx at alph,xxx at Alph}
 }
 
@@ -36,7 +36,7 @@
 
 \ifluatex
   \newattribute\xpg at tibteol %
-  \directlua{polyglossia.load_tibt_eol()}%
+  \directlua{require('polyglossia-tibt')}%
 \fi
 
 \def\tibetan at eol{%

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkish.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-turkish.ldf}[polyglossia: module for Turkish]
 \RequirePackage{hijrical}
@@ -10,7 +10,6 @@
   hyphenmins={2,2},
   langtag=TRK,
   frenchspacing=true,
-  fontsetup=true
   }
 
 % TODO Add \ifluatex branch everywhere

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-turkmen.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for Turkmen]
 %% Translations provided by Nazar Annagurban <nazartm at gmail dot com>
@@ -10,7 +10,6 @@
   hyphenmins={2,2},
   langtag=TKM,
   frenchspacing=false,
-  fontsetup=true
 }
 
 % BCP-47 compliant aliases

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ug.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ug.ldf}[polyglossia: module for ug (Uyghur)]
 % BCP 47 tag for Uyghur

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for Ukrainian]
 % Strings taken from Babel
@@ -16,8 +16,7 @@
   hyphennames={ukrainian},
   hyphenmins={2,2},
   frenchspacing=true,
-  fontsetup=true,
-  localnumeral=ukrainiannumerals,
+   localnumeral=ukrainiannumerals,
   Localnumeral=Ukrainiannumerals
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uppersorbian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-uppersorbian.ldf}[polyglossia: module for Upper Sorbian]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-urdu.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 %%% Adapted from a file contributed by Kamal Abdali
 \ProvidesFile{gloss-urdu.ldf}[polyglossia: module for Urdu]
@@ -16,8 +16,8 @@
   scripttag=arab,
   langtag=URD,
   hyphennames={urdu,nohyphenation},
-  fontsetup=true,
-  localnumeral=urdunumerals
+  localnumeral=urdunumerals,
+  Localnumeral=urdunumerals
   %TODO localalph={abjad,abjad}
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-usorbian.ldf}[polyglossia: module for Upper Sorbian]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-uyghur.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-uyghur.ldf}[polyglossia: module for Uyghur]
 %% Translations provided by Osman Tursun (Github Account: neouyghur)
@@ -13,8 +13,7 @@
   scripttag=arab,
   langtag=UYG,
   hyphennames={nohyphenation},
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{uyghur}{ug}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-vietnamese.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-vietnamese.ldf}[polyglossia: module for Vietnamese]
 %% Strings contributed by Daniel Owens < dhowens . pmbx . net >
@@ -11,8 +11,7 @@
   hyphenmins={2,2},
   langtag=VIT,
   frenchspacing=true,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{vietnamese}{vi}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-welsh.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-welsh.ldf}[polyglossia: module for Welsh]
 
@@ -9,8 +9,7 @@
   hyphennames={welsh},
   hyphenmins={2,3},
   langtag=WEL,
-  fontsetup=true,
-}
+ }
 
 % BCP-47 compliant aliases
 \setlanguagealias*{welsh}{cy}

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-CN.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-zh-CN.ldf}[polyglossia: module for zh-CN (Chinese)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/gloss-zh-TW.ldf	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,4 +1,4 @@
-% Language definition file (part of polyglossia v2.3 -- 2024/09/23)
+% Language definition file (part of polyglossia v2.4 -- 2025/01/31)
 %
 \ProvidesFile{gloss-zh-TW.ldf}[polyglossia: module for zh-TW (Chinese)]
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/hebrewcal.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/hebrewcal.sty	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/hebrewcal.sty	2025-01-31 22:12:45 UTC (rev 73666)
@@ -17,32 +17,30 @@
 %
 % OPTIONS
 %
-\RequirePackage{xkeyval}
+\DeclareKeys[hebrewcal]
+  {
+    marcheshvan.if = @xpg at hebrew@marcheshvan,
+    marcheshvan.default:n = true,
+    fullyear.if = @xpg at hebrew@fullyear,
+    fullyear.default:n = true,
+    transliteration.choice:,
+    transliteration / academy.code =
+      {%
+        \@hebrewcal at academytranstrue
+      },
+    transliteration / alt.code =
+      {%
+        \@hebrewcal at academytransfalse
+      },
+    transliteration.default:n = alt,
+    transliteration/unknown.code = \PackageWarning{hebrewcal}{Unknown transliteration option `#1'}%
+  }
 
-% marcheshvan=true|false
-\define at boolkey{hebrewcal}[@xpg at hebrew@]{marcheshvan}[true]{}
-
-% fullyear=true|false
-\define at boolkey{hebrewcal}[@xpg at hebrew@]{fullyear}[true]{}
-
-% transliteration=academy|alt
+\newif\@xpg at hebrew@marcheshvan
+\newif\@xpg at hebrew@marcheshvan
 \newif\if at hebrewcal@academytrans
-\@hebrewcal at academytransfalse
-\define at choicekey*+{hebrewcal}{transliteration}[\hcal at val\hcal at nr]{academy,alt}[alt]{%
-   \ifcase\hcal at nr\relax
-      % academy:
-     \@hebrewcal at academytranstrue
-   \or
-      % alt:
-      \@hebrewcal at academytransfalse
-   \fi
-   \PackageInfo{hebrewcal}{Setting transliteration=\hcal at val}%
-}{%
-  \PackageWarning{hebrewcal}{Unknown transliteration option `#1'}%
-}
 
-% Process
-\ProcessOptionsX*<hebrewcal>
+\ProcessKeyOptions[hebrewcal]
 %%
 %% END OPTIONS
 

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-cjk-spacing.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-cjk-spacing.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-cjk-spacing.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 --
 -- polyglossia-cjk-spacing.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 local glyph_id = node.id"glyph"

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-french.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 --
 -- polyglossia-punct.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 require('polyglossia-punct')

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-latin.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 --
 -- polyglossia-latin.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 require('polyglossia-punct')

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,12 +1,10 @@
 --
 -- polyglossia-punct.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 require('polyglossia') -- just in case...
 
-local add_to_callback      = luatexbase.add_to_callback
-local declare_callback_rule = luatexbase.declare_callback_rule
 local new_attribute        = luatexbase.new_attribute
 
 local node = node
@@ -332,14 +330,8 @@
     tex.setattribute(punct_attr, id)
 end
 
-add_to_callback("pre_linebreak_filter",process,"polyglossia-punct.process")
-add_to_callback("hpack_filter",process,"polyglossia-punct.process")
-declare_callback_rule("pre_linebreak_filter",
-    "polyglossia-punct.process", "before", "luaotfload.node_processor")
-declare_callback_rule("hpack_filter",
-    "polyglossia-punct.process", "before", "luaotfload.node_processor")
+luatexbase.add_to_callback("pre_shaping_filter",process,"polyglossia-punct.process")
 
-
 local function deactivate()
     tex.setattribute(punct_attr, -0x7FFFFFFF) -- this value means "unset"
     -- Though it would make compilation slightly faster, it is not possible to

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-sanskrit.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 --
 -- polyglossia-sanskrit.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 require('polyglossia-punct')

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia-tibt.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 --
 -- polyglossia-tibt.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 require('polyglossia') -- just in case...

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 --
 -- polyglossia.lua
--- part of polyglossia v2.3 -- 2024/09/23
+-- part of polyglossia v2.4 -- 2025/01/31
 --
 
 local module_name = "polyglossia"
@@ -26,17 +26,6 @@
 polyglossia = polyglossia or {}
 local polyglossia = polyglossia
 
-local function load_tibt_eol()
-    require('polyglossia-tibt')
-end
-
--- predefined l at nohyphenation or LuaTeX's maximum value for \language
-local nohyphid = luatexbase.registernumber'l at nohyphenation' or 16383
-token.set_char('l at nohyphenation', nohyphid)
-
--- key `nohyphenation` is for .sty file when possibly undefined l at nohyphenation
-local newloader_loaded_languages = { nohyphenation = nohyphid }
-
 local newloader_available_languages = require'language.dat.lua'
 -- Suggestion by Dohyun Kim on #129
 local t = { }
@@ -51,13 +40,14 @@
 -- LaTeX's language register is \count19
 local lang_register = 19
 
+local nohyphid = luatexbase.registernumber'l at nohyphenation'
+local newloader_loaded_languages = {  }
+
 -- New hyphenation pattern loader: use language.dat.lua directly and the language identifiers
 local function newloader(langentry)
     local loaded_language = newloader_loaded_languages[langentry]
     if loaded_language then
-        local langid = lang.id(loaded_language)
-        log_info('Language %s already loaded; id is %i', langentry, langid)
-        return langid
+        return lang.id(loaded_language)
     else
         local langdata = newloader_available_languages[langentry]
         if langdata then
@@ -147,6 +137,5 @@
     end
 end
 
-polyglossia.load_tibt_eol = load_tibt_eol
 polyglossia.newloader = newloader
 polyglossia.newloader_loaded_languages = newloader_loaded_languages

Modified: trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty	2025-01-31 22:12:15 UTC (rev 73665)
+++ trunk/Master/texmf-dist/tex/latex/polyglossia/polyglossia.sty	2025-01-31 22:12:45 UTC (rev 73666)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesExplPackage
-  {polyglossia} {2024/09/23} {v2.3}
+  {polyglossia} {2025/01/31} {v2.4}
   {Modern multilingual typesetting with XeLaTeX and LuaLaTeX}
 
 % TODO Handle remaining uses in the gloss files (\patchcmd)
@@ -21,13 +21,10 @@
 \hook_gput_code:nnn {begindocument/before} {.}
 {
   \cs_gset_eq:NN \bbl at set@language \xpg_set_language_aux:nn  % for biblatex
-  \cs_gset_eq:NN \bbl at main@language \xpg_main_language_tl    % for biblatex
+  \cs_gset_eq:NN \bbl at main@language \g_xpg_main_language_tl    % for biblatex
   \ProvideDocumentCommand \texorpdfstring { m m } { #1 }  % dummy command if hyperref is not loaded
 }
 
-%% when no patterns are available, we use \l at nohyphenation, assigned to 255
-%%  (suggestion by Enrico Gregorio)
-%% \l at nohyphenation is defined in polyglossia.lua
 \sys_if_engine_luatex:TF
   {
     \lua_load_module:n{polyglossia}
@@ -47,19 +44,12 @@
           { \prg_return_false: }
       }
   }{
-    \cs_if_free:cT { l at nohyphenation }
-      { \chardef\l at nohyphenation=255 }
     \prg_set_eq_conditional:NNn \xpg_if_script:n \fontspec_if_script:n { TF, T, F }
   }
 
-% Which version of XeTeX do we use? What is the boundary class? 4095 or 255
-\cs_if_exist:cTF { e at alloc@intercharclass at top }
-  { \cs_gset_eq:NN \xpg at boundaryclass \e at alloc@intercharclass at top }
-  { \chardef\xpg at boundaryclass=\@cclv }
-
 % Useful for getting list of loaded languages and variants. Like babel's bbl at loaded
 % all language loaded
-\seq_new:N \__xpg_langs_loaded
+\seq_new:N \g__xpg_langs_loaded_seq
 % list of loaded languages (polyglossia name)
 \clist_new:N \xpg at loaded
 % list of loaded variants
@@ -195,7 +185,7 @@
 % error out if lang is not loaded
 \cs_new_nopar:Nn \xpg_error_if_lang_not_loaded:n
 {
-  \seq_if_in:NeF \__xpg_langs_loaded {#1}
+  \seq_if_in:NeF \g__xpg_langs_loaded_seq {#1}
   {
     \msg_error:nnn { polyglossia } { languagenotloaded } { #1 }
   }
@@ -218,6 +208,14 @@
 \cs_set_eq:cc { xpg at ill@value }  { xpg_ill_value_msg:nn }
 
 
+% Warn if babel has been loaded
+\hook_gput_code:nnn {package/babel/after} {.}
+{
+  \xpg_warning_msg:n { You~ have~ loaded~ both~ babel~ and~ polyglossia.\iow_newline:
+                       The~ two~ packages~ are~ mutually~ exclusive! }
+}
+
+
 \NewDocumentCommand \XPGNoPatternsFallback { O{ nohyphenation } m }
 {
    \msg_warning:nnnn { polyglossia } { nopatterns } { #1 } { #2 }
@@ -235,122 +233,22 @@
 %
 % END MESSAGES
 
-
-%% ensure directionality if bidi is loaded, else ignore
-%%% FIXME still used?
-\cs_new_nopar:Npn \@@ensure at dir #1
-{
-  \cs_if_exist_use:c{@ensure at dir}{#1}
-}
-
-\cs_new_nopar:Npn \@@ensure at maindir #1
-{
-  \cs_if_exist_use:c{@ensure at maindir}{#1}
-}
-
-% if we are in the document preamble run T else F
 \prg_set_conditional:Nnn \xpg_if_in_preamble: {T, F, TF}
-{
-  \cs_if_eq:NNTF { \@onlypreamble } { \@notprerr }
   {
-    \prg_return_false:
+    \cs_if_eq:NNTF { \@onlypreamble } { \@notprerr }
+      { \prg_return_false: } { \prg_return_true: }
   }
-  {
-    \prg_return_true:
-  }
-}
 
 %% Used by the language definitions files for right-to-left languages
-\DeclareDocumentCommand \RequireBidi {}
+\cs_new_nopar:Npn \RequireBidi
   {
-    \xpg_if_in_preamble:T
-      {
-        \sys_if_engine_luatex:TF
-          { \RequirePackage{luabidi} }
-          { \RequirePackage{bidi} }
-      }
-    \DeclareDocumentCommand \RequireBidi {} {}
+    \sys_if_engine_luatex:TF
+      { \RequirePackage{ luabidi } }
+      { \RequirePackage { bidi } }
+    \cs_set_eq:NN \xpg__text_LR: \@ensure at LTR
+    \cs_set_eq:NN \xpg__text_RL: \@ensure at RTL
   }
 
-% if #1 is LR run T else F
-\prg_set_conditional:Nnn \__xpg_if_LR_str:n {p, T, F, TF}
-{
-  \str_case_e:nnF{#1}
-  {
-    {LR}{\prg_return_true:}
-    {RL}{\prg_return_false:}
-  }
-  {
-    \xpg_error_msg:n {Unknown~ direction~#1}
-    \prg_return_false:
-  }
-}
-\prg_generate_conditional_variant:Nnn \__xpg_if_LR_str:n {e} {p, T, F, TF}
-
-% (lua)bidi commands to change directionality for paragraphs
-% and inline text.
-% overwritten with correct package
-\cs_new_nopar:Nn \__xpg_set_par_direction:n
-{
-  \__xpg_if_LR_str:nF {#1}
-  {
-    \xpg_error_msg:n {right-to-left,~ but~ (lua)bidi~ package~ was~ not~ loaded!}
-  }
-}
-\cs_new_nopar:Nn \__xpg_set_text_direction:n
-{
-  \__xpg_if_LR_str:nF {#1}
-  {
-    \xpg_error_msg:n {right-to-left,~ but~ (lua)bidi~ package~ was~ not~ loaded!}
-  }
-}
-\hook_gput_code:nnn {package/bidi/after} {.}
-{
-  \cs_gset_nopar:Nn \__xpg_set_par_direction:n
-  {
-    \__xpg_if_LR_str:nTF{#1}
-    {
-      \setLR
-    }
-    {
-      \setRL
-    }
-  }
-  \cs_gset_nopar:Nn \__xpg_set_text_direction:n
-  {
-    \__xpg_if_LR_str:nTF{#1}
-    {
-      \LRE
-    }
-    {
-      \RLE
-    }
-  }
-}
-\hook_gput_code:nnn {package/luabidi/after} {.}
-{
-  \cs_gset_nopar:Nn \__xpg_set_par_direction:n
-  {
-    \__xpg_if_LR_str:nTF{#1}
-    {
-      \setLR
-    }
-    {
-      \setRL
-    }
-  }
-  \cs_gset_nopar:Nn \__xpg_set_text_direction:n
-  {
-    \__xpg_if_LR_str:nTF{#1}
-    {
-      \LRE
-    }
-    {
-      \RLE
-    }
-  }
-}
-
 % emulate \RTLmain
 \sys_if_engine_luatex:TF
   { \cs_new_nopar:Nn \__xpg_setRTLmain: { \setRTLmain } }
@@ -378,7 +276,6 @@
 %% hyphenmins : the hyphenmins for this language (comma-sep list of two integers)
 %% frenchspacing : boolean
 %% indentfirst : boolean
-%% fontsetup : boolean
 %% TODO: nouppercase : boolean (for scripts like Arabic, Devanagari, etc which have
 %%       no concept of uppercase/lowercase)
 %% TODO: localalph = {<alph_csname>,<Alph_csname>}
@@ -386,16 +283,11 @@
 %%       or even better localdigits = {0123456789} for fully automatic setup
 \NewDocumentCommand \PolyglossiaSetup { m m }
 {
-  \__xpg_keys_define_lang:n{#1}
-  \keys_set:nn { polyglossia / #1 } { #2 }
+  \__xpg_keys_define_lang:n { #1 }
+  \SetLanguageKeys { #1 } { #2 }
   \__xpg_setup_hyphen:n {#1}
-  %define booleans etoolbox style and set defaults
-  %% TODO ? \providetoggle{#1 at setup@done}%
   % we initialize this so that we can append below
   \cs_gset:cpn {init at extras@#1} {}
-  % here we do the fontsetup:
-  \__xpg_auto_setupfont:n { #1 }
-  %% TODO? \toggletrue{#1 at setup@done}
   % register base alias
   \xpg_language_alias { #1 } { #1 }
 }
@@ -406,10 +298,16 @@
 % different options (variant, script, etc.) result
 % in different babel names, bcp47 specification,
 % or OpenType language or script tags.
-\DeclareDocumentCommand \SetLanguageKeys { m m }
-{
-  \clist_map_inline:nn { #1 } { \keys_set:nn { polyglossia / ##1 } { #2 } }
-}
+\cs_new:Npn \__xpg_update_langsetup:nnn #1 #2 #3
+  {
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / #2 } { #3 }
+  }
+\cs_set_protected:Npn \SetLanguageKeys #1 #2
+  {
+    \keyval_parse:nnn { \errorrrrrrrrrrr }
+      { \__xpg_update_langsetup:nnn { #1 } }
+      { #2 }
+  }
 
 \bool_new:N \l__xpg_have_hyphen_bool
 % setup hyphennames from a str list of hyphen
@@ -505,207 +403,20 @@
 \prop_new_linked:N \l_xpg_langsetup_prop
 
 \cs_new_protected:Npn \__xpg_keys_define_lang:n #1
-{
-  \keys_define:nn {polyglossia}
-  {
-    % the script font
-    #1 / script
-       .code:n = {
-          \prop_put:Nnn \l_xpg_langsetup_prop {#1/script}{##1}
-          \prop_put:Nne \l_xpg_langsetup_prop {#1/lcscript}
-               {\tl_if_empty:nF{##1}{\str_lowercase:n{##1}}}
-    },
-    #1 / script
-       .value_required:n = true,
-    #1 / script
-       .initial:n = latin,
-    % the opentype script tag
-    #1 / scripttag
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/scripttag}{##1}},
-    #1 / scripttag
-       .default:n = {},
-    #1 / scripttag
-      .initial:n = {},
-    % the language full name
-    #1 / language
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/language}{##1}},
-    #1 / language
-       .value_required:n = true,
-    #1 / language
-        .initial:x = {\str_uppercase:n#1},
-    % the language tag
-    #1 / langtag
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/langtag}{##1}},
-    #1 / langtag
-       .value_required:n = true,
-    #1 / langtag
-       .initial:n = {},
-    % the BCP-47 tag
-    #1 / bcp47
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47}{##1}},
-    #1 / bcp47
-       .value_required:n = true,
-    #1 / bcp47
-       .initial:n = {},
-    % the BCP-47 language tag
-    #1 / bcp47-language
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-language}{##1}},
-    #1 / bcp47-language
-       .value_required:n = true,
-    #1 / bcp47-language
-       .initial:n = {},
-    % the BCP-47 region tag
-    #1 / bcp47-region
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-region}{##1}},
-    #1 / bcp47-region
-       .value_required:n = false,
-    #1 / bcp47-region
-       .initial:n = {},
-    % the BCP-47 script tag
-    #1 / bcp47-script
-       .code:n =
-         {
-           \prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-script}{##1}
-           \prop_put:Nne \l_xpg_langsetup_prop {#1/lc-bcp47-script}
-               {\tl_if_empty:nF{##1}{\str_lowercase:n{##1}}}
-         },
-    #1 / bcp47-script
-       .value_required:n = true,
-    #1 / bcp47-script
-       .initial:n = {Latn},
-    % the BCP-47 variant tag
-    #1 / bcp47-variant
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-variant}{##1}},
-    #1 / bcp47-variant
-       .value_required:n = false,
-    #1 / bcp47-variant
-       .initial:n = {},
-    % the BCP-47 extension-t tag
-    #1 / bcp47-extension-t
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-extension-t}{##1}},
-    #1 / bcp47-extension-t
-       .value_required:n = false,
-    #1 / bcp47-extension-t
-       .initial:n = {},
-    % the BCP-47 extension-u tag
-    #1 / bcp47-extension-u
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-extension-u}{##1}},
-    #1 / bcp47-extension-u
-       .value_required:n = false,
-    #1 / bcp47-extension-u
-       .initial:n = {},
-    % the BCP-47 extension-x tag
-    #1 / bcp47-extension-x
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-extension-x}{##1}},
-    #1 / bcp47-extension-x
-       .value_required:n = false,
-    #1 / bcp47-extension-x
-       .initial:n = {},
-    % the BCP-47 casing alias
-    #1 / bcp47-casing
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/bcp47-casing}{##1}},
-    #1 / bcp47-casing
-       .value_required:n = false,
-    #1 / bcp47-casing
-       .initial:n = {},
-    % hyphennames
-    #1 / hyphennames
-    .code:n = {
-      \clist_set:Nn{\l_tmpa_clist}{##1}
-      \prop_put:Nne \l_xpg_langsetup_prop {#1/hyphennames}{\clist_use:Nn \l_tmpa_clist {,}}
-    },
-    #1 / hyphennames
-       .value_required:n = true,
-    #1 / hyphennames
-      .initial:x = {\c_empty_clist},
-    % direction
-    #1 / direction
-    .  code:n = {
-           \str_case_e:nnTF{##1}{
-             {LR}{}
-             {RL}{\RequireBidi}
-           }
-           { \prop_put:Nnn \l_xpg_langsetup_prop {#1/direction}{##1} }
-           { \xpg_error_msg:n {Unknown~ direction~ "##1"~ for~ language~ "#1"} }
-       },
-    #1 / direction
-      .value_required:n = true,
-    #1 / direction
-      .initial:n = {LR},
-    % minimal left and right hyphenation minima using
-    #1 / hyphenmins
-    .code:n = {
-      % check syntax
-      \int_compare:nNnF { \clist_count:n {##1} } = {2}
-        { \xpg_error_msg:n {hypenmins~should~be~a~list~of~two~entries,~got~"##1"} }
-      % set prop
-      \prop_put:Nnn \l_xpg_langsetup_prop {#1/hyphenmins} {##1}
-    },
-    #1 / hyphenmins
-      .value_required:n = true,
-    #1 / hyphenmins
-     .initial:n = {2,3},
-    % minimal length for hyphenation (LuaTeX only)
-    #1 / totalhyphenmin
-    .code:n = {
-      % check syntax
-      \int_compare:nNnF { \clist_count:n {##1} } = {1}
-        { \xpg_error_msg:n {totalhyphenhypenmin~should~be~a~single~entry,~got~"##1"} }
-      % set prop
-      \prop_put:Nnn \l_xpg_langsetup_prop {#1/totalhyphenmin} {##1}
-    },
-    #1 / totalhyphenmin
-      .value_required:n = false,
-    % frenchspacing
-    #1 / frenchspacing  .bool_gset:c = g__xpg_#1_fs_bool ,
-    #1 / frenchspacing  .default:n = true ,
-    #1 / frenchspacing  .initial:n = false ,
-    % indent first line
-    #1 / indentfirst  .bool_gset:c = g__xpg_#1_if_bool ,
-    #1 / indentfirst  .default:n = true ,
-    #1 / indentfirst  .initial:n = false ,
-    % fontsetup
-    #1 / fontsetup  .bool_gset:c = g__xpg_#1_fontsetup_bool ,
-    #1 / fontsetup  .default:n = true ,
-    #1 / fontsetup  .initial:n = false ,
-    % environment name
-    #1 / envname
-       .code:n = {
-           \prop_put:Nnn \l_xpg_langsetup_prop {#1/envname}{##1}
-       },
-    #1/ envname.value_required:n = true,
-    #1/ envname.initial:n = {#1},
-    % babel name
-    #1 / babelname
-       .code:n = {
-           \prop_put:Nnn \l_xpg_langsetup_prop {#1/babelname}{##1}
-       },
-    #1/ babelname.value_required:n = true,
-    #1/ babelname.initial:n = {#1},
-    % default numerals
-    #1 / localnumeral
-         . code:n =  {
-            \prop_put:Nnn \l_xpg_langsetup_prop {#1/localnumeral}{##1}
-            \prop_put:Nnn \l_xpg_langsetup_prop {#1/Localnumeral}{##1}
-         },
-    #1 / localnumeral.value_required:n = true,
-    #1 / localnumeral.initial:n = {xpg_C_localnumeral:nn},
-    % uppercased
-    #1 / Localnumeral
-         . code:n =  {
-            \prop_put:Nnn \l_xpg_langsetup_prop {#1/Localnumeral}{##1}
-         },
-    #1 / Localnumeral.value_required:n = true,
-    #1 / Localnumeral.initial:n = {xpg_C_localnumeral:nn},
-    % environment define command (by default create the environment)
-    #1 / DefineCommandsCmd
-       .code:n = {\prop_put:Nnn \l_xpg_langsetup_prop {#1/DefineCommandsCmd}{##1}},
-    #1 / DefineCommandsCmd
-       .value_required:n = true,
-    #1 / DefineCommandsCmd
-      .initial:n = {xpg_define_language_commands:e}
+  {       
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / script } { Latin }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / bcp47-script } { Latn }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / language } { \str_uppercase:n #1 }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / direction } { LR }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / hyphenmins } { 2, 3 }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / envname } { #1 }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / babelname } { #1 }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / DefineCommandsCmd } { xpg_define_language_commands:e }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / frenchspacing } { false }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / indentfirst } { false }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / localnumeral } { xpg_C_localnumeral:nn }
+    \prop_put:Nnn \l_xpg_langsetup_prop { #1 / Localnumeral } { xpg_C_localnumeral:nn }
   }
-}
 
 \DeclareExpandableDocumentCommand \babelname { }
   {
@@ -772,43 +483,35 @@
 
 \cs_new_nopar:Npn \__xpg_french_spacing:n #1
   { 
-    \bool_if:cTF { g__xpg_#1_fs_bool } 
-	{ \frenchspacing } { \nonfrenchspacing }
+    \str_case_e:nn { \prop_item:Nn \l_xpg_langsetup_prop { #1 / frenchspacing } }
+      {
+        { true } { \frenchspacing }
+        { false } { \nonfrenchspacing } 
+      }
   }
 
 \cs_new_nopar:Npn \__xpg_indent_first:n #1
   {
-	\bool_if:cTF { g__xpg_#1_if_bool }
-	{ \__xpg_french_indent: } { \__xpg_no_french_indent: }
+    \str_case_e:nn { \prop_item:Nn \l_xpg_langsetup_prop { #1 / indentfirst } }
+      {
+        { true } { \__xpg_french_indent: }
+        { false } { \__xpg_no_french_indent: } 
+      }
   }
 
 \cs_new:Nn \__xpg_lang_set_par_direction:n
-{
-  \prop_get:NeNTF \l_xpg_langsetup_prop {#1/direction} \l_tmpa_tl
-      {
-        \__xpg_set_par_direction:n{\l_tmpa_tl}
-      }
-      {
-        \xpg_error_msg:n {Could~ not~ retrieve~ key~ direction~ for~ language~ "#1"}
-        \prop_show:N{\l_xpg_langsetup_prop}
-      }
-}
+  {
+    \cs_if_exist_use:c { set \prop_item:Nn \l_xpg_langsetup_prop { #1 / direction } }
+  }
 
 
-\cs_new:Nn \__xpg_lang_set_text_direction:nn
-{
-  \prop_get:NeNTF \l_xpg_langsetup_prop {#1/direction} \l_tmpa_tl
-      {
-        \__xpg_set_text_direction:n{\l_tmpa_tl}{#2}
-      }
-      {
-        \xpg_error_msg:n {Could~ not~ retrieve~ key~ direction~ for~ language~ "#1"}
-        \prop_show:N{\l_xpg_langsetup_prop}
-      }
-}
+\cs_new:Nn \__xpg_lang_set_text_direction:n
+  {
+    \cs_if_exist_use:c { xpg__text_ \prop_item:Nn \l_xpg_langsetup_prop { #1 / direction } : }
+  }
 
 \tl_new:N \g__xpg_lastlanguage_tl
-\tl_set:Nn \g__xpg_lastlanguage_tl { 0 }
+\tl_gset:Nn \g__xpg_lastlanguage_tl { 0 }
 
 % Track whether hyphenation is disabled
 \bool_new:N \g__xpg_hyphenation_disabled_bool
@@ -844,19 +547,52 @@
   }
 }
 
-\cs_new:Npn \__xpg_auto_setupfont:n #1
-{
-  \bool_if:cTF { g__xpg_#1_fontsetup_bool }
+% This saves the normalfont for the latin script since we may change normalfont in other scripts
+\cs_set_eq:NN \normalfontlatin \normalfont
+
+% Provide default fonts (as set with \setmainfont, \setsansfont and \setmonofont)
+% for Latin scripts and as a fallback for non-Latin scripts.
+\cs_set_eq:NN \rmfamilylatin \rmfamily
+\hook_gput_code:nnn { rmfamily } { . } { \tl_set:Nn \l_xpg_familytype_tl { rm } }
+\cs_set_eq:NN \sffamilylatin \sffamily
+\hook_gput_code:nnn { sffamily } { . } { \tl_set:Nn \l_xpg_familytype_tl { sf } }
+\cs_set_eq:NN \ttfamilylatin \ttfamily
+\hook_gput_code:nnn { ttfamily } { . } { \tl_set:Nn \l_xpg_familytype_tl { tt } }
+
+\cs_new:Nn \xpg_set_familydefault:
   {
-    \str_if_eq:eeTF{\prop_item:Nn{\l_xpg_langsetup_prop}{#1/lcscript}}{latin}
-         {\SetupLatinPolyglossiaFont{#1}}
-         {\SetupNonLatinPolyglossiaFont{#1}}
+    \tl_set:Ne \l_xpg_familytype_tl
+      {
+        \str_case_e:nnF { \familydefault }
+          {
+            { \sfdefault } { sf }
+            { \ttdefault } { tt }
+          } { rm }
+      }
   }
+
+\cs_set_nopar:Npn \xpg_select_fontfamily:
   {
-    \xpg_info_msg:n{Skipping~ automatic~ font~ setup~ for~ language~ #1}
+    \str_case:Vn \l_xpg_familytype_tl
+      {
+        { rm } { \rmfamily }
+        { sf } { \sffamily }
+        { tt } { \ttfamily }
+      }
   }
-}
 
+\hook_gput_code:nnn {begindocument/before} {.}
+  {
+    \cs_set_protected_nopar:Npn \normalfont
+      {
+        \xpg_set_familydefault:
+        \use:c { \l_xpg_familytype_tl family }
+        \fontseries \seriesdefault
+        \fontshape \shapedefault
+        \hook_use:n { normalfont }
+        \selectfont
+      }
+  }
 
 % add fontfeature Language=#2 to langtag #1
 % do nothing if #1 or #2 is empty
@@ -947,56 +683,50 @@
 }
 \cs_generate_variant:Nn  \__xpg_add_font_feature_script:nnn { nee }
 
+\tl_new:N \l_xpg_familytype_tl
+\tl_set:Nn \l_xpg_familytype_tl {rm}
+
 %% TODO: probably can be cleaned a little more
-\cs_new_protected:Npn \__xpg_setup_font:nnnnn #1 #2 #3 #4 #5 % #1 = lang, #2 = family, #3 = family, #4 = gobble, #5 gobble
+\cs_new_protected:Npn \__xpg_setup_font:nn #1 #2 % #1 = family, #2 = family
   {
-    \cs_set_protected_nopar:cpn { #1 at font@#2 }
+    \cs_set_protected_nopar:cpn { #1family }
       {
-        \cs_if_exist_use:cF{ #1font#3 }
+        \cs_if_exist_use:cF { \languagename font#2 }
           {
-           \cs_if_exist_use:cF { \prop_item:Nn \l_xpg_langsetup_prop { #1 / lc-bcp47-script } font#3 }
+           \cs_if_exist_use:cF { \str_lowercase:f { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / bcp47-script } } font#2 }
               {
-                #4 { \prop_item:Nn \l_xpg_langsetup_prop { #1 / lcscript } font#3 }
+                \str_if_eq:eeTF { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / script } } { Latin }
+                { \use_ii:nn } { \cs_if_exist_use:cF }
+                 { \str_lowercase:f { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / script } } font#2 }
                   { 
-                    \use:c { #2familylatin } 
-                    #5
+                    \use:c { #1familylatin } 
+                    \str_if_eq:eeF { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / script } } { Latin }
                       {
-                        \__xpg_add_font_feature_script:nee { #2 }
-                            { \prop_item:Nn \l_xpg_langsetup_prop { #1 / scripttag } }
-                            { \prop_item:Nn \l_xpg_langsetup_prop { #1 / script } }
+                        \__xpg_add_font_feature_script:nee { #1 }
+                            { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / scripttag } }
+                            { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / script } }
                       }
                   }
               }
            \__xpg_add_font_feature_language:ee 
-               { \prop_item:Nn \l_xpg_langsetup_prop { #1 / langtag } }
-               { \prop_item:Nn \l_xpg_langsetup_prop { #1 / language } }
+               { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / langtag } }
+               { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / language } }
           }
-        \tl_set:Nn \familytype { #2 }
+        \tl_set:Nn \l_xpg_familytype_tl { #1 }
       }
   }
 
-\NewDocumentCommand \SetupLatinPolyglossiaFont { m }
-  {
-    \__xpg_setup_font:nnnnn { #1 } { rm } { } { \use_ii:nn } { \use_none:n }
-    \__xpg_setup_font:nnnnn { #1 } { sf } { sf } { \use_ii:nn } { \use_none:n }
-    \__xpg_setup_font:nnnnn { #1 } { tt } { tt } { \use_ii:nn } { \use_none:n }
-  }
+\__xpg_setup_font:nn { rm } {    }
+\__xpg_setup_font:nn { sf } { sf }
+\__xpg_setup_font:nn { tt } { tt }
 
-\NewDocumentCommand \SetupNonLatinPolyglossiaFont { m }
-  {
-    \__xpg_setup_font:nnnnn { #1 } { rm } { } { \cs_if_exist_use:cF } { \use:n }
-    \__xpg_setup_font:nnnnn { #1 } { sf } { sf } { \cs_if_exist_use:cF } { \use:n }
-    \__xpg_setup_font:nnnnn { #1 } { tt } { tt } { \cs_if_exist_use:cF } { \use:n }
-  }
-
 %%% END OF PolyglossiaSetup
 
 %% ensure localization of \markright and \markboth commands
 %%% THIS IS NOW DISABLED BY DEFAULT
-\cs_new_nopar:Nn \__xpg_local_marks:n { }
+\cs_set_eq:NN \__xpg_local_marks:n \use_none:n
 \cs_new_nopar:Nn \__xpg_enable_local_marks:
 {
-  \xpg_info_msg:n{Option:~ localmarks}
   \cs_gset_nopar:Nn \__xpg_local_marks:n
   {
 	 \DeclareDocumentCommand \markboth { m m }
@@ -1007,8 +737,8 @@
                 \cs_set_eq:cc { glossary } { relax }
                 \unrestored at protected@xdef\@themark
 		  {
-		     {\foreignlanguage{##1}{\protect\@@ensure at maindir{####1}}}
-		     {\foreignlanguage{##1}{\protect\@@ensure at maindir{####2}}}
+		     {\foreignlanguage{##1}{####1}}
+		     {\foreignlanguage{##1}{####2}}
 		  }
                 \@temptokena \expandafter{\@themark}
                 \mark_insert:nn{2e-left}{####1}
@@ -1025,7 +755,7 @@
                \cs_set_eq:cc { index } { relax }
                \cs_set_eq:cc { glossary } { relax }
                \expandafter\@markright\@themark
-		   {\foreignlanguage{##1}{\protect\@@ensure at maindir{####1}}}
+		   {\foreignlanguage{##1}{####1}}
                \@temptokena \expandafter{\@themark}
                \mark_insert:nn{2e-right}{####1}
                \tl_if_empty:nF{####1}{ \mark_insert:nn{2e-right-nonempty}{####1} }
@@ -1038,18 +768,13 @@
 
 %we call this macro when a gloss file is not found for a given language
 \cs_new_nopar:Nn \__xpg_no_gloss:n
-{
-   \xpg_warning_msg:n
-      {File~ gloss-#1.ldf~ do~ not~  exists! \iow_newline:
-       I~ will~ nevertheless~ try~ to~ use~ hyphenation~ patterns~ for~ #1.}
+  {
+    \xpg_warning_msg:n
+       {File~ gloss-#1.ldf~ do~ not~  exists! \iow_newline:
+        I~ will~ nevertheless~ try~ to~ use~ hyphenation~ patterns~ for~ #1.}
 
-  \PolyglossiaSetup{#1}{hyphenmins={2,3},hyphennames={#1},fontsetup=true}
-  % the above amounts to:
-  %\ifcsundef{l@#1}%
-  %  {\expandafter\adddialect\csname l@#1\endcsname\l at nohyphenation\relax}%
-  %  {\setlocalhyphenmins{#1}{2}{3}}%
-  %\csdef{#1 at language}{\language=\csname l@#1\endcsname}%
-}
+    \PolyglossiaSetup{#1}{hyphennames={#1}}
+  }
 
 \cs_new_nopar:Nn \xpg_input:n
 {
@@ -1087,25 +812,25 @@
 % load a master language from an alias file
 \NewDocumentCommand \InheritGlossFile { m }
 {
-  \seq_if_in:NeF \__xpg_langs_loaded {#1}
+  \seq_if_in:NeF \g__xpg_langs_loaded_seq {#1}
   {
     \xpg_input:n {gloss-#1.ldf}
     % define environment and command if not alias
-    \str_if_eq:eeT {\prop_item:Ne \__xpg_alias {#1/target}} {#1} {
+    \str_if_eq:eeT {\prop_item:Ne \g__xpg_alias_prop {#1/target}} {#1} {
       \use:c{\prop_item:Nn{\l_xpg_langsetup_prop}
                           {#1/DefineCommandsCmd}}
                           {#1}
       }
-    \seq_gput_right:Nn \__xpg_langs_loaded {#1}
+    \seq_gput_right:Nn \g__xpg_langs_loaded_seq {#1}
   }
   \__xpg_register_language:nn{}{#1}
 }
 
-\prop_new_linked:N \__xpg_alias
+\prop_new_linked:N \g__xpg_alias_prop
 
 % define environment and command if not alias
 \cs_new:Nn \xpg_define_language_commands:n {
-  \str_if_eq:eeT {\prop_item:Ne \__xpg_alias {#1/target}} {#1}
+  \str_if_eq:eeT {\prop_item:Ne \g__xpg_alias_prop {#1/target}} {#1}
   {
     \exp_args:Ne
     \NewDocumentEnvironment {\prop_item:Nn{\l_xpg_langsetup_prop}{#1/envname}} { O{} }
@@ -1126,21 +851,21 @@
 
 % resolve alias property #1 lang #2 item
 \cs_new:Nn \xpg_alias_prop_item:nn {
-  \prop_if_in:NeTF \__xpg_alias {#1/#2}
+  \prop_if_in:NeTF \g__xpg_alias_prop {#1/#2}
   {
-    \prop_item:Ne \__xpg_alias {#1/#2}
+    \prop_item:Ne \g__xpg_alias_prop {#1/#2}
   }
   {
-    \prop_if_in:NeTF \__xpg_alias {#1/target}
+    \prop_if_in:NeTF \g__xpg_alias_prop {#1/target}
     {
       % target to self fall back to language table
-      \str_if_eq:eeTF { \prop_item:Ne \__xpg_alias {#1/target} } { #1 }
+      \str_if_eq:eeTF { \prop_item:Ne \g__xpg_alias_prop {#1/target} } { #1 }
       {
         \prop_item:Nn{\l_xpg_langsetup_prop} {#1/#2}
       }
       % load alias by recursion
       {
-        \xpg_alias_prop_item:ee { \prop_item:Ne \__xpg_alias {#1/target} } {#2}
+        \xpg_alias_prop_item:ee { \prop_item:Ne \g__xpg_alias_prop {#1/target} } {#2}
       }
     }
     {
@@ -1172,7 +897,7 @@
 % get base language
 \cs_new:Nn \xpg_alias_base_lang:n
   {
-    \prop_item:Ne \__xpg_alias {#1/target}
+    \prop_item:Ne \g__xpg_alias_prop {#1/target}
   }
 \cs_generate_variant:Nn \xpg_alias_base_lang:n {e}
 
@@ -1197,27 +922,27 @@
 % #6 alias
 \DeclareDocumentCommand \xpg_language_alias { D(){} O{} m D(){} O{} m}
 {
-  \prop_gremove:Nn \__xpg_alias {#6/target}
-  \prop_gremove:Nn \__xpg_alias {#6/options}
-  \prop_gremove:Nn \__xpg_alias {#6/bcp47}
-  \prop_gremove:Nn \__xpg_alias {#6/babelname}
-  \prop_gremove:Nn \__xpg_alias {#6/variant}
-  \prop_gput:Nee \__xpg_alias {#6/target} {#3}
+  \prop_gremove:Nn \g__xpg_alias_prop {#6/target}
+  \prop_gremove:Nn \g__xpg_alias_prop {#6/options}
+  \prop_gremove:Nn \g__xpg_alias_prop {#6/bcp47}
+  \prop_gremove:Nn \g__xpg_alias_prop {#6/babelname}
+  \prop_gremove:Nn \g__xpg_alias_prop {#6/variant}
+  \prop_gput:Nee \g__xpg_alias_prop {#6/target} {#3}
   \tl_if_blank:eF {#1}
   {
-    \prop_gput:Nee \__xpg_alias {#6/variant} {#1}
+    \prop_gput:Nee \g__xpg_alias_prop {#6/variant} {#1}
   }
   \tl_if_blank:eF {#5}
   {
-    \prop_gput:Nee \__xpg_alias {#6/bcp47} {#5}
+    \prop_gput:Nee \g__xpg_alias_prop {#6/bcp47} {#5}
   }
   \tl_if_blank:eF {#4}
   {
-    \prop_gput:Nee \__xpg_alias {#6/babelname} {#1}
+    \prop_gput:Nee \g__xpg_alias_prop {#6/babelname} {#1}
   }
   \tl_if_blank:eF {#2}
   {
-    \prop_gput:Nee \__xpg_alias {#6/options} {#2}
+    \prop_gput:Nee \g__xpg_alias_prop {#6/options} {#2}
   }
 }
 
@@ -1241,12 +966,12 @@
         \endotherlanguage
       }
   }
-  \tl_clear_new:N \__xpg_alias_option_tl
+  \tl_clear_new:N \g__xpg_alias_prop_option_tl
   \prop_clear_new:N \__xpg_language_alias_prop
-  \keys_set_known:nnN{polyglossia/alias} {#2} \__xpg_alias_option_tl
+  \keys_set_known:nnN{polyglossia/alias} {#2} \g__xpg_alias_prop_option_tl
   \xpg_language_alias
     (\prop_item:Nn \__xpg_language_alias_prop {variant})
-    % TODO not yet [\__xpg_alias_option_tl]
+    % TODO not yet [\g__xpg_alias_prop_option_tl]
     [#2]
     {#3}
     (\prop_item:Nn \__xpg_language_alias_prop {babelname})
@@ -1263,17 +988,17 @@
   % set language options
   \__xpg_set_language_options:nn {#2} {#1}
   % register babelname
-  \prop_get:NeN \l_xpg_langsetup_prop {#2/babelname} \l_tmpa_tl
+  \prop_get:NeNT \l_xpg_langsetup_prop { #2 / babelname } \l_tmpa_tl {
   \clist_if_in:NeF \xpg at bloaded {\l_tmpa_tl}{
     \clist_gput_right:Ne \xpg at bloaded {\l_tmpa_tl}
-  }
+  }}
   % register BCP-47 ID
-  \prop_get:NeN \l_xpg_langsetup_prop {#2/bcp47} \l_tmpa_tl
+  \prop_get:NeNT \l_xpg_langsetup_prop  { #2 / bcp47 } \l_tmpa_tl {
   \clist_if_in:NeF \xpg at bcp@loaded {\l_tmpa_tl}{
     \clist_gput_right:Ne \xpg at bcp@loaded {\l_tmpa_tl}
-  }
+  }}
   % register variant
-  \prop_get:NnNT \l_xpg_curropt_prop {#2/variant} \l_tmpa_tl {
+  \prop_get:NeNT \l_xpg_curropt_prop { #2 / variant } \l_tmpa_tl {
   \clist_if_in:NeF \xpg at vloaded {\l_tmpa_tl}{
     \clist_gput_right:Ne \xpg at vloaded {\l_tmpa_tl}
   }}
@@ -1291,16 +1016,16 @@
       \clist_gput_right:Ne \xpg at loaded {\xpg_alias_base_lang:n{##2}}
     }
   }
-  \seq_if_in:NeF \__xpg_langs_loaded {#2}
+  \seq_if_in:NeF \g__xpg_langs_loaded_seq {#2}
   {
     \__xpg_load_lang_definition:nn{#1}{#2}
     % define environment and command if not alias
-    \str_if_eq:eeT {\prop_item:Ne \__xpg_alias {#2/target}} {#2} {
+    \str_if_eq:eeT {\prop_item:Ne \g__xpg_alias_prop {#2/target}} {#2} {
        \use:c{\prop_item:Ne{\l_xpg_langsetup_prop}
             {#2/DefineCommandsCmd}}
             {#2}
     }
-    \seq_gput_right:Ne \__xpg_langs_loaded {#2}
+    \seq_gput_right:Ne \g__xpg_langs_loaded_seq {#2}
   }
   \cs_set_nopar:Npe \mainlanguagevariant { \prop_item:Ne \l_xpg_curropt_prop { \xpg_alias_base_lang:n{#2} / variant } }
    \exp_args:Nee \__xpg_set_default_language:nn {\xpg_alias_add_to_option_i:nn{#2}{#1}}
@@ -1307,16 +1032,17 @@
     {\xpg_alias_base_lang:n{#2}}
 }
 
+\tl_new:N \g_xpg_main_language_tl
 
 \cs_new:Nn \__xpg_set_default_language:nn
 {
-  \tl_gset:Nn \xpg_main_language_tl {#2}
+  \tl_gset:Nn \g_xpg_main_language_tl {#2}
   %% The following settings are for the default language and script
   % this tells bidi.sty or luabidi.sty that the document is RTL
-  \__xpg_if_LR_str:eF{\prop_item:Nn{\l_xpg_langsetup_prop}{#2/direction}}
-  {
-    \__xpg_setRTLmain:
-  }
+  \str_if_eq:eeT { \prop_item:Nn \l_xpg_langsetup_prop { #2 / direction } } { RL }
+    {
+      \__xpg_setRTLmain:
+    }
   \cs_gset_nopar:Nn \__xpg_selectdefaultlanguage:
   {
     \selectbackgroundlanguage{#2}
@@ -1430,7 +1156,7 @@
 
 \cs_new:Nn \xpg_set_language_name:n
 {
-  \cs_set:Npn \languagename { #1 }
+  \exp_args:NNe \cs_set:Npn \languagename { #1 }
 }
 
 \NewDocumentCommand \resetdefaultlanguage { O{} m }
@@ -1444,127 +1170,22 @@
 {
   \xpg_error_if_lang_not_loaded:n{#2}
   % disable globalnumbers of previously defined default language
-  \use:c{no\xpg_main_language_tl @globalnumbers}
-  \use:c{noextras@\xpg_main_language_tl}
+  \use:c{no\g_xpg_main_language_tl @globalnumbers}
+  \use:c{noextras@\g_xpg_main_language_tl}
   % This is a hook for external packages which want to access variants
   % via babelname (such as biblatex)
   \cs_if_exist_use:c{noextras at bbl@\mainbabelname}
-  \use:c{init at noextras@\xpg_main_language_tl}
+  \use:c{init at noextras@\g_xpg_main_language_tl}
   \xpg_set_language_name:n { #2 }
-  \__xpg_if_LR_str:eF{\prop_item:Ne{\l_xpg_langsetup_prop}{#2/direction}}
-  {
-    \@rlmaintrue\@rl at footnotetrue
-  }
+  \str_if_eq:eeT { \prop_item:Ne \l_xpg_langsetup_prop { #2 / direction } } { RL }
+    {
+      \@rlmaintrue\@rl at footnotetrue
+    }
   \selectlanguage[#1]{#2}
   \selectbackgroundlanguage{#2}
   \cs_set_nopar:Npe \mainlanguagevariant { \prop_item:Ne \l_xpg_curropt_prop { \xpg_alias_base_lang:n{#2} / variant } }
 }
 
-% This saves the normalfont for the latin script since we may change normalfont in other scripts
-\cs_set_eq:cc { normalfontlatin } { normalfont }
-
-% Provide default fonts (as set with \setmainfont, \setsansfont and \setmonofont)
-% for Latin scripts and as a fallback for non-Latin scripts.
-\cs_set_protected:Nn \xpg_defaultfont_rm:
-{
-   \tl_if_empty:NF{\g__fontspec_nfss_enc_tl}{\fontencoding{\g__fontspec_nfss_enc_tl}}
-   \fontfamily\rmdefault
-   \hook_use:n { rmfamily }
-   \selectfont
-}
-
-\cs_set_protected:Nn \xpg_defaultfont_sf:
-{
-   \tl_if_empty:NF{\g__fontspec_nfss_enc_tl}{\fontencoding{\g__fontspec_nfss_enc_tl}}
-   \fontfamily\sfdefault
-   \hook_use:n { sffamily }
-   \selectfont
-}
-
-\cs_set_protected:Nn \xpg_defaultfont_tt:
-{
-   \tl_if_empty:NF{\g__fontspec_nfss_enc_tl}{\fontencoding{\g__fontspec_nfss_enc_tl}}
-   \fontfamily\ttdefault
-   \hook_use:n { ttfamily } 
-   \selectfont
-}
-
-\cs_new:Nn \__xpg_patch_fontfamilies:
-{
-  % This robustifies the redefinitions of \<xx>family (suggestion by Enrico Gregorio)
-  % e.g. to prevent expansion of the \familytype redefinition in auxiliary files
-  \tl_put_right:cn {rmfamily~} {\tl_set:Nn \familytype {rm}}
-  \tl_put_right:cn {sffamily~} {\tl_set:Nn \familytype {sf}}
-  \tl_put_right:cn {ttfamily~} {\tl_set:Nn \familytype {tt}}
-}
-
-% These switches activate the default fonts
-% Note that a simple \let\rmfamilylatin=\rmfamily
-% does not work reliably (see #24)
-\cs_set_eq:cc{rmfamilylatin}{xpg_defaultfont_rm:}
-\cs_set_eq:cc{sffamilylatin}{xpg_defaultfont_sf:}
-\cs_set_eq:cc{ttfamilylatin}{xpg_defaultfont_tt:}
-
-\cs_new:Nn \xpg_set_familydefault:
-{
-  \tl_set:Ne \l_tmpa_tl { \familydefault }
-  \tl_set:Ne \l_tmpb_tl { \sfdefault }
-  \tl_if_eq:NNTF \l_tmpa_tl \l_tmpb_tl
-     { \tl_set:Nn \familytype {sf} }
-     { \tl_set_eq:NN \l_tmpb_tl \ttdefault
-       \tl_if_eq:NNTF \l_tmpa_tl \l_tmpb_tl
-           { \tl_set:Nn \familytype {tt} }
-           { \tl_set:Nn \familytype {rm} }
-     }
-  \__xpg_patch_fontfamilies:
-  % This (re-)saves the normalfont for the latin script since we may
-  % change normalfont in other scripts
-  \cs_set_eq:cc{ normalfontlatin }{ normalfont }
-  % And for all cases, we also reset \<xx>familylatin
-  \cs_set_eq:cc{ rmfamilylatin }{ xpg_defaultfont_rm: }
-  \cs_set_eq:cc{ sffamilylatin }{ xpg_defaultfont_sf: }
-  \cs_set_eq:cc{ ttfamilylatin }{ xpg_defaultfont_tt: }
-}
-
-\cs_set_nopar:Nn \xpg_select_fontfamily:n
-{
-  \str_if_eq:VnTF \familytype { tt }
-    { \__xpg_use_or_warn:c { #1 at font@tt } }
-    { \str_if_eq:VnTF \familytype { sf }
-        { \__xpg_use_or_warn:c { #1 at font@sf } }
-        { \__xpg_use_or_warn:c { #1 at font@rm } }
-    }
-}
-
-\cs_set_protected:Npn \xpg_select_default_fontfamily:n #1
-  {
-    \tl_set:Ne \l_tmpa_tl { \familydefault }
-    \tl_set:Ne \l_tmpb_tl { \sfdefault }
-    \tl_if_eq:NNTF \l_tmpa_tl \l_tmpb_tl
-       { \tl_set:Nn \familytype {sf} }
-       { \tl_set_eq:NN \l_tmpb_tl \ttdefault
-         \tl_if_eq:NNTF \l_tmpa_tl \l_tmpb_tl
-             { \tl_set:Nn \familytype {tt} }
-             { \tl_set:Nn \familytype {rm} }
-       }
-     \xpg_select_fontfamily:n{#1}
-  }
-
-\cs_new_nopar:Nn \xpg_set_normalfont:n
-{
-  \cs_set_eq:cc { rmfamily } { #1 at font@rm }
-  \cs_set_eq:cc { sffamily } { #1 at font@sf }
-  \cs_set_eq:cc { ttfamily } { #1 at font@tt }
-  \cs_set_nopar:Npn \normalfont 
-      { \xpg_select_default_fontfamily:n {#1}
-        \fontseries{\seriesdefault}\selectfont
-        \fontshape{\shapedefault}
-        \hook_use:n { normalfont }
-        \selectfont
-      }
-  \cs_set_nopar:Npn \reset at font {\protect\normalfont}
-}
-
 \cs_gset_eq:cc { @@fterindentfalse } { @afterindentfalse }
 \cs_new_nopar:Nn \__xpg_french_indent:
 {
@@ -1584,9 +1205,6 @@
 
 \cs_new:Nn \__xpg_select_background_language:n
 {
-  \str_if_eq:eeTF { \prop_item:Nn{\l_xpg_langsetup_prop}{#1/lcscript} } { latin }
-                   {}
-                   { \xpg_set_normalfont:n{#1} }
   \use:c{#1 at globalnumbers}
 }
 \cs_generate_variant:Nn \__xpg_select_background_language:n {e}
@@ -1593,27 +1211,21 @@
 %  Declare secondary language #2 with language options #1
 \DeclareDocumentCommand \setotherlanguage { O{} m }
 {
-  \seq_if_in:NeF \__xpg_langs_loaded {#2}
+  \seq_if_in:NeF \g__xpg_langs_loaded_seq {#2}
   {
     \__xpg_load_lang_definition:ee {#1} {#2}
     % define environment and command if not alias
-    \str_if_eq:eeT {\prop_item:Ne \__xpg_alias {#2/target}} {#2} {
+    \str_if_eq:eeT {\prop_item:Ne \g__xpg_alias_prop {#2/target}} {#2} {
        \use:c{\prop_item:Ne{\l_xpg_langsetup_prop}
              {#2/DefineCommandsCmd}}
              {#2}
     }
-    \__xpg_set_otherlanguage:ee {\xpg_alias_add_to_option_i:nn{#2}{#1}}
+    \exp_args:Nee \__xpg_register_language:nn {\xpg_alias_add_to_option_i:nn{#2}{#1}}
       {\xpg_alias_base_lang:n{#2}}
-    \seq_gput_right:Ne \__xpg_langs_loaded {#2}
+    \seq_gput_right:Ne \g__xpg_langs_loaded_seq {#2}
   }
 }
 
-\cs_new:Nn \__xpg_set_otherlanguage:nn
-{
-  \__xpg_register_language:nn{#1}{#2}
-}
-\cs_generate_variant:Nn  \__xpg_set_otherlanguage:nn { ee }
-
 \NewDocumentCommand \setotherlanguages { m }
 {
    \clist_map_function:eN { #1 } \setotherlanguage
@@ -1650,20 +1262,11 @@
 % inside case changing commands (e.g. \MakeUppercase)
 \tl_put_right:Nn \l_text_case_exclude_arg_tl { \textlang }
 
-% wrapper for foreignlanguage and otherlanguage*
-\cs_new_nopar:Nn \xpg_set_foreign_language:nn
-{
-  \xpg_select_language:nn { #1 } { #2 }
-  \__xpg_register_language:nn{#1}{#2}
-}
-
 % lowercase options before passing to setkeys
-\NewDocumentCommand \SetGlossOptions { m m }
+\cs_new_protected_nopar:Npn \SetGlossOptions #1 #2
 {
-    % \text_lowercase:n fully expands
-    % (as opposed to \str_lowercase:n)
    \use:c { xpg_#1_default_options_tl }
-   \exp_args:Ne \keys_set:ne{ polyglossia / gloss / #1 }{ \text_lowercase:n {#2} }
+   \lowercase { \exp_args:Ne \keys_set:ne{ polyglossia / gloss / #1 }{ #2 } }
    \tl_set:Ne \xpg__current_options_tl { #2 }
 }
 
@@ -1675,7 +1278,8 @@
 {
   \xpg_error_if_lang_not_loaded:n{#2}
   \SetGlossOptions{#2}{#1}
-  \xpg_set_foreign_language:nn { #1 } { #2 }
+  \xpg_select_language:nn { #1 } { #2 }
+  \__xpg_register_language:nn{#1}{#2}
   % Hook for external packages such as biblatex
   \polyglossia at language@switched
   % buggy restoration heure
@@ -1706,7 +1310,7 @@
   }{
     \group_begin:
       \xpg_otherlanguage:nn{ \xpg_alias_add_to_option_i:nn{#2}{#1} }{ #3 }
-      \__xpg_lang_set_text_direction:nn{#3}{#4}
+      \__xpg_lang_set_text_direction:n { #3 } { #4 }
     \group_end:
     \cs_if_exist_use:c{ nestedextras@\languagename }
   }
@@ -1718,10 +1322,7 @@
 \DeclareDocumentEnvironment { otherlanguage* } { O{} m }
   {
 	\__xpg_otherlanguage:eee { #1 } { #2 } { \xpg_alias_base_lang:n { #2 } }
-  }{
-	\c_group_end_token% \group_end: does not work here!
-	\cs_if_exist_use:c{ nestedextras@\languagename }
-  }
+  } { \cs_if_exist_use:c{ nestedextras@\languagename } }
 
 % internal wrapper
 % #1 option
@@ -1734,8 +1335,7 @@
     \msg_show:nnn { polyglossia } { languagenotloaded } {#2}
   }{
     \xpg_otherlanguage:nn{ \xpg_alias_add_to_option_i:nn{#2}{#1} }{ #3 }
-    \__xpg_lang_set_text_direction:nn{#3}%
-    \c_group_begin_token% \group_begin: does not work here!
+    \__xpg_lang_set_par_direction:n { #3 }
   }
 }
 \cs_generate_variant:Nn \__xpg_otherlanguage:nnn { eee }
@@ -1770,7 +1370,7 @@
       % This is a hook for external packages which want to access variants
       % via babelname (such as biblatex)
       \cs_if_exist_use:c{date at bbl@\babelname}
-      \__xpg_lang_set_text_direction:nn{#3}{#4}
+      \__xpg_lang_set_text_direction:n { #3 } { #4 }
     \group_end:
     \cs_if_exist_use:c{ nestedextras@\languagename }
   }
@@ -1792,43 +1392,36 @@
 \cs_set_nopar:Npn \xpg at hook@setlanguage {}
 
 \cs_set_nopar:Nn \__xpg_pop_language:nn
-{
-  \xpg_set_language_aux:nn { #1 } { #2 }
-  \xpg at hook@setlanguage
-% FIXME This seems to be a very old relict. 
-%       The macro is nowhere used. Probably remove.
-%  \let\emp at langname\@undefined
-}
+  {
+    \xpg_set_language_aux:nn { #1 } { #2 }
+    \xpg at hook@setlanguage
+  }
 
-\DeclareDocumentCommand \selectlanguage {s O{} m}
+\DeclareDocumentCommand \selectlanguage { O{} m }
   {
-    \tl_if_blank:eTF {\xpg_alias_base_lang:n{#3}}
+    \tl_if_blank:eTF {\xpg_alias_base_lang:n{#2}}
       {
-	\IfBooleanTF { #1 }
-          { \msg_show:nnn { polyglossia } { languagenolongerloaded } {#3} }
-          { \msg_show:nnn { polyglossia } { languagenotloaded } {#3} }
+        \msg_show:nnn { polyglossia } { languagenotloaded } {#2}
       }{
-        \__xpg_select_language:nee {#1}
-          { \xpg_alias_add_to_option_i:nn{#3}{#2} }
-          { \xpg_alias_base_lang:n{#3} }
+        \__xpg_select_language:ee
+          { \xpg_alias_add_to_option_i:nn{#2}{#1} }
+          { \xpg_alias_base_lang:n{#2} }
       }
   }
+  
+% prevent case changing of language name in \selectlanguage
+\tl_put_right:Nn \l_text_case_exclude_arg_tl { \selectlanguage }
 
-\cs_new:Nn \__xpg_select_language:nnn
-{
-  % Register the language options
-  \__xpg_set_language_options:nn {#3} {#2}
-  \IfBooleanTF { #1 }   % The starred variant does not write to the aux
-    {
-	  \xpg_set_language_nonaux:nn { #2 } { #3 }
-    }{
-      \cs_set_nopar:Ne \xpg_pop_language: { \exp_not:N \__xpg_pop_language:nn { #2 } { #3 } }
-      \group_insert_after:N \xpg_pop_language:
-	  \xpg_set_language_aux:nn { #2 } { #3 }
-    }
-  \__xpg_register_language:nn { #2 } { #3 }
-}
-\cs_generate_variant:Nn \__xpg_select_language:nnn { nee, nne }
+\cs_new:Nn \__xpg_select_language:nn
+  {
+    % Register the language options
+    \__xpg_set_language_options:nn {#2} {#1}
+    \cs_set_nopar:Ne \xpg_pop_language: { \exp_not:N \__xpg_pop_language:nn { #1 } { #2 } }
+    \group_insert_after:N \xpg_pop_language:
+    \xpg_set_language_aux:nn { #1 } { #2 }
+    \__xpg_register_language:nn { #1 } { #2 }
+  }
+\cs_generate_variant:Nn \__xpg_select_language:nn { ee }
 
 % set lang option #2 for lang #1
 \cs_new:Nn \__xpg_set_language_options:nn
@@ -1842,6 +1435,58 @@
   \SetGlossOptions{#1}{#2}
 }
 
+\cs_new_nopar:Nn \xpg_set_language_aux:nn
+{
+   \__xpg_start_language:nn { #1 } { #2 }
+    % Write to the aux
+   \xpg_set_language_only_aux:nn { #1 } { #2 }
+}
+
+\cs_new_protected_nopar:Npn \xpg at aux #1 #2
+  {
+    \tl_if_blank:eTF {\xpg_alias_base_lang:n{#2}}
+      {
+        \msg_show:nnn { polyglossia } { languagenolongerloaded } {#2} 
+      }{
+        \__xpg_set_language_options:nn { #2 } { #1 }
+        \__xpg_start_language:nn { #1 } { #2 }
+        \__xpg_register_language:nn { #1 } { #2 }
+      }
+  }
+
+\cs_new_nopar:Nn \xpg_set_language_only_aux:nn
+{
+    % Write to the aux (toc files)
+   \if at filesw
+        \addtocontents{toc}{\xpg at aux{#1}{#2}}
+   \fi
+}
+
+\hook_gput_code:nnn {begindocument} {.}
+{
+   \if at filesw
+	\immediate\write\@mainaux
+	{\ProvideDocumentCommand\xpg at aux{mm}{}}
+   \fi
+   
+   % we need to redefine \@caption to intrude the currently active language
+   % for the lot/lof.
+   % Since captions might float to other language regions,
+   % we need to specify the language here (#542)
+   \cs_set_eq:cc { __xpg_save_caption:n } { @caption }
+   \cs_new:Npn \xpg at current@opts {}
+
+   \cs_set:Npn \@caption #1 [#2] #3
+     {
+           % we might be outside of l3 catcode regime
+           \tl_set_eq:NN \xpg at current@opts \xpg__current_options_tl
+           \__xpg_save_caption:n { #1 } [ { \xpg at aux{\xpg at current@opts}{\languagename}#2 } ] { #3 }
+     }
+}
+
+% we need to patch \@caption after the caption package
+\hook_gset_rule:nnnn { begindocument } { . } { after } { caption3 }
+
 % Initialize default language options, so that
 % \iflanguageoption has the info it needs also
 % for default settings
@@ -1850,7 +1495,7 @@
    \tl_new:c { xpg_#1_default_options_tl }
    \prop_new:c { xpg_#1_default_options_prop }
    \keys_precompile:nec { polyglossia / gloss / #1 } 
-                        { \text_lowercase:n { #2, \xpg__tmp_default_options_tl } } 
+                        {  #2, \xpg__tmp_default_options_tl } 
                         { xpg_#1_default_options_tl }
    \xpg__keyval_parser:enc { #2, \xpg__tmp_default_options_tl } { #1 } 
                            { xpg_#1_default_options_prop }
@@ -1857,7 +1502,7 @@
    \prop_concat:ccc { l_xpg_curropt_prop } { l_xpg_curropt_prop }
                     { xpg_#1_default_options_prop }
    \use:c { xpg_#1_default_options_tl }
-   \__xpg_set_language_options:nn {#1} {#2}
+   \tl_set:Ne \xpg__current_options_tl { #2, \xpg__tmp_default_options_tl }
 }
 \tl_new:N \xpg__tmp_default_options_tl
 \tl_new:N \xpg__current_options_tl
@@ -1914,7 +1559,7 @@
 
 \prg_set_conditional:Npnn \xpg_if_main_language:n #1 { T, F, TF }
 {
-   \str_if_eq:VnTF \xpg_main_language_tl { #1 }
+   \str_if_eq:VnTF \g_xpg_main_language_tl { #1 }
         { \prg_return_true: }
         { \prg_return_false: }
 }
@@ -1990,50 +1635,6 @@
     \__xpg_if_char:NTF { #1 } { #2 } { #3 }
   }
 
-
-\cs_new_nopar:Nn \xpg_set_language_nonaux:nn
-{
-   \__xpg_start_language:nn { #1 } { #2 }
-}
-
-
-\cs_new_nopar:Nn \xpg_set_language_aux:nn
-{
-   \__xpg_start_language:nn { #1 } { #2 }
-    % Write to the aux
-   \xpg_set_language_only_aux:nn { #1 } { #2 }
-}
-
-\cs_new_nopar:Nn \xpg_set_language_only_aux:nn
-{
-    % Write to the aux (toc files)
-   \if at filesw
-        \addtocontents{toc}{\selectlanguage*[#1]{#2}}
-   \fi
-}
-
-\hook_gput_code:nnn {begindocument} {.}
-  {
-    \if at filesw
-      \immediate\write\@mainaux
-          {\ProvideDocumentCommand\selectlanguage{sO{}m}{}}
-    \fi
-
-    % we need to redefine \@caption to intrude the currently active language
-    % for the lot/lof.
-    % Since captions might float to other language regions,
-    % we need to specify the language here (#542)
-    \cs_set_eq:cc { __xpg_save_caption:n } { @caption }
-    \cs_new:Npn \xpg at current@opts {}
-
-    \cs_set:Npn \@caption #1 [#2] #3
-      {
-            % we might be outside of l3 catcode regime
-            \tl_set_eq:NN \xpg at current@opts \xpg__current_options_tl
-            \__xpg_save_caption:n { #1 } [ { \selectlanguage*[\xpg at current@opts]{\languagename}#2 } ] { #3 }
-      }
-  }
-
 % check if language is defined
 \prg_set_conditional:Npnn \__xpg_pattern_check_if_exists:n #1 { F, TF }
   {
@@ -2050,7 +1651,7 @@
   % and assign the returned number to \l@#1
   \__xpg_pattern_check_if_exists:nF {#1}
   {
-    \directlua { token.set_char('l@#1', polyglossia.newloader'#1') }
+    \directlua { token.set_char('l@#1', polyglossia.newloader'#1', 'global') }
   }
 }
 
@@ -2103,20 +1704,6 @@
 % This old term is used by biblatex, so don't drop!
 \cs_gset_eq:cc { xpg at ifdefined } { xpg_if_language_defined:nTF }
 
-% Set \bbl at hyphendata@\the\language, which is (lua)babel's
-% hyphenation pattern hook
-% FIXME Clarifiy why/when this is needed.
-\cs_new:Nn \xpg_set_bbl_hyphendata:n
-{
-  \sys_if_engine_luatex:T
-  {
-    \cs_if_exist:cF {bbl at hyphendata@#1}
-    {
-      \cs_gset:cpn {bbl at hyphendata@\the\language} {}
-    }
-  }
-}
-
 % Set hyphenation patterns for a given language. This does the right
 % thing both for XeTeX and LuaTeX
 \cs_new:Nn \xpg_set_hyphenation_patterns:n
@@ -2129,7 +1716,6 @@
 {
    % hook for compatibility with biblatex
    \select at language { #2 }
-   \xpg_set_bbl_hyphendata:n {\the\language}
    \xpg_initial_setup:
    \xpg_select_language:nn { #1 } { #2 }
    % Hook for external packages such as biblatex
@@ -2162,45 +1748,38 @@
 
 % remove all customization for language #1
 \cs_new:Npn \noextrascurrent #1
-{
-  \cs_if_exist_use:c{noextras@#1}%
-  % This is a hook for external packages which want to access variants
-  % via babelname (such as biblatex)
-  \cs_if_exist_use:c{noextras at bbl@\babelname}
-}
+  {
+    \cs_if_exist_use:c { noextras@#1 }
+    % This is a hook for external packages which want to access variants
+    % via babelname (such as biblatex)
+    \cs_if_exist_use:c{noextras at bbl@\babelname}
+  }
 
 % Common code for `\select at language' and `\foreignlanguage'.
 \cs_new:Nn \xpg_select_language:nn
-{
-  % disable the extras and number settings of the previous language
-  \cs_if_exist:cT{languagename}
   {
-    \noextrascurrent{\languagename}
-    \cs_if_exist_use:c{no\languagename @numbers}
-    \sys_if_engine_xetex:T{
-      \__xpg_if_LR_str:eTF{\prop_item:Ne{\l_xpg_langsetup_prop}{\languagename/direction}}
+    % disable the extras and number settings of the previous language
+    \noextrascurrent { \languagename }
+    \cs_if_exist_use:c { no\languagename @numbers }
+    \str_if_eq:eeF { \prop_item:Ne \l_xpg_langsetup_prop { \languagename / direction } }
+      { \prop_item:Ne \l_xpg_langsetup_prop { #2 / direction } }
       {
-        \__xpg_if_LR_str:eF{\prop_item:Nn{\l_xpg_langsetup_prop}{#2/direction}}
-          {\setnonlatin} % LTR -> RTL
+        \str_case:en { \prop_item:Ne \l_xpg_langsetup_prop { #2 / direction } }
+          {
+            { LR } { \cs_if_exist_use:N \setlatin }
+            { RL } { \cs_if_exist_use:N \setnonlatin }
+          }  
       }
-      {
-        \__xpg_if_LR_str:eT{\prop_item:Nn{\l_xpg_langsetup_prop}{#2/direction}}
-          {\setlatin} % RTL -> LTR
-      }
-    }
-  }
   \xpg_set_language_name:n { #2 }
-  \xpg_set_normalfont:n { #2 }
-  \xpg_select_fontfamily:n { #2 }
-  \__xpg_use_or_warn:c{#2 at language}
-  \cs_if_exist_use:c{#2 at numbers}
+  \xpg_select_fontfamily:
+  \__xpg_use_or_warn:c { #2 at language }
+  \cs_if_exist_use:c { #2 at numbers }
   \__xpg_use_localhyphenmins:nn { #1 } { #2 }
   \__xpg_french_spacing:n { #2 }
 }
 
+\cs_set_eq:NN \xpg_pop_language: \c_empty_tl
 
-\cs_undefine:N \xpg_pop_language:
-
 \DeclareDocumentEnvironment { otherlanguage } { O{} m }
   {
     \selectlanguage[#1]{#2}
@@ -2307,7 +1886,7 @@
 % keys for main package
 \keys_define:nn { polyglossia } {
   verbose
-     .bool_set:N = \g_xpg_verbose_bool,
+     .bool_gset:N = \g_xpg_verbose_bool,
   verbose
      .default:n = true,
   % compatibility
@@ -2314,9 +1893,10 @@
   quiet
      .meta:n =  { verbose = false },
 
+  localmarks .choice:,
+  localmarks / true .code:n = \__xpg_enable_local_marks:,
+  localmarks / false .code:n = \cs_set_eq:NN \__xpg_local_marks:n \use_none:n,
   localmarks
-     .bool_set:N = \g_xpg_localmarks_bool,
-  localmarks
      .default:n = true,
   % compatibility
   nolocalmarks
@@ -2328,7 +1908,7 @@
      .default:n = true,
 
   luatexrenderer
-     .str_set:N = \g_xpg_luatex_renderer_str,
+     .str_gset:N = \g_xpg_luatex_renderer_str,
   luatexrenderer
      .value_required:n = true,
 }
@@ -2365,10 +1945,6 @@
    \msg_redirect_module:nnn { polyglossia } { info } { none } % no polyglossia info
 }
 
-\bool_if:nT \g_xpg_localmarks_bool {
-  \__xpg_enable_local_marks:
-}
-
 % common code to initiate babelshordhands in glosses
 \cs_new:Npn \InitializeBabelShorthands
 {



More information about the tex-live-commits mailing list.