Bug Tracker RSS feed

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

Return to Search Results

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.0
Also 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.

🔗Comment from anonymous
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.

Replying to Comment #163:

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

🔗Comment from Nicola Talbot 🦜
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.

Replying to Comment #164:

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=300

Return to Search Results