Bug Tracker 
ID | 300🔗 |
---|---|
Date: | 2025-04-02 14:00:12 |
Last update: | 2025-04-02 15:01:43 |
Status | Closed (Not a Bug) |
Category | datatool |
Version | 3.3 |
Summary | Locale ngerman not supported anymore |
Sign in to subscribe to notifications about this report.
Description
The following MWE causes a warning with all versions after v2.32:\listfiles \documentclass{article} \usepackage[ngerman]{babel} \usepackage{glossaries} \GlsSetQuote{+} \makeglossaries \newglossaryentry{rna}{% name=ribonukleinsäure,% sort={ribonukleins"aure},% description={eine Nukleinsäure}% } \begin{document} \gls{rna} \printglossaries \end{document}The MWE could be found in the documentation of package glossaries.
The warning is:
Package tracklang Warning: No `datatool' support for dialect `ngerman' on input line 9908.
The warning could be avoided by adding the following line before \usepackage{glossaries}
: \usepackage{datatool}[=v2.32]
The MWE reads then as follows:
\listfiles \documentclass{article} \usepackage[ngerman]{babel} \usepackage{datatool}[=v2.32] \usepackage{glossaries} \GlsSetQuote{+} \makeglossaries \newglossaryentry{rna}{% name=ribonukleinsäure,% sort={ribonukleins"aure},% description={eine Nukleinsäure}% } \begin{document} \gls{rna} \printglossaries \end{document}
MWE
Download (311B)
\listfiles \documentclass{article} \usepackage[ngerman]{babel} \usepackage{glossaries} \GlsSetQuote{+} \makeglossaries \newglossaryentry{rna}{% name=ribonukleinsäure,% sort={ribonukleins"aure},% description={eine Nukleinsäure}% } \begin{document} \gls{rna} \printglossaries \end{document}
Evaluation
This isn't a bug. There was no warning with older versions of datatool because there was no datatool localisation support prior to version 3.0.
The glossaries package still supports ngerman
. The supplied log file shows that glossaries-german.ldf has been loaded:
glossaries-german.ldf 2014/11/23 v1.0Also the aux file has:
\@gls@extramakeindexopts{-g}which indicates that makeindex should employ German ordering, so the glossaries package localisation is working correctly.
There is currently only a limited number of datatool localisation files available. This doesn't affect \printglossary
(or \printglossaries
) as neither of those commands use datatool localisation. (The datatool-base package provides functions used by \printnoidxglossary
, which previously only provided character code ordering.)
You can suppress the warning by passing lang-warn=false
to datatool-base. For example:
\usepackage[ngerman]{babel} \usepackage[lang-warn=false]{datatool-base} \usepackage{glossaries}or
\PassOptionsToPackage{lang-warn=false}{datatool-base}
Comments
2 comments.
Date: 2025-04-02 15:01:43
Repying to: anonymous 2025-04-02 14:57:35
And someone else may load datatool explicitly with requested localisation support and will says it's a bug that they're not warned there's no support.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=300
Date: 2025-04-02 14:57:35
I am sorry, I still think that this is a bug. The package datatool won't be called explicitly, it will be called implicitly by the package glossaries only. A new version of the package datatool has been released, and this new version causes that the package glossaries behaves different. This should not be the case.