# Bug Tracker

ID: 134 🔗 Closed (Can Not Implement) tracklang 1.41 135 2019-08-31 17:58:18 tracklang doesn't work with newer babel (\babelprovide)

## Report

(I couldn't find a category for tracklang and so took the glossaries-extra) newer versions of babel allow to declare the languages after the loading of the package with \babelprovide. tracklang doesn't recognize this. babel also knows now a language nil, but tracklang errors with it.

### MWE

\documentclass{article}
%\usepackage[nil]{babel}
\usepackage{babel}
\babelprovide[import=fr]{french}
\babelprovide[import=de,main]{german}
\usepackage{glossaries-extra}

\begin{document}

\ForEachTrackedDialect\mylang{\show\mylang}
\languagename
\end{document}

## Evaluation

(I've moved this bug report to the new tracklang category but the version given seems to be for glossaries-extra.sty so it's not clear which version of tracklang you are using. I'm guessing it's 1.3.6.)

The mispelt \AddTrackedLangage error is fixed in version 1.3.7, so unknown languages should now trigger a warning rather than an error. This bug is therefore already fixed.

Version 1.3.8 now defines the undetermined “und” language and defines “nil” as a dialect of that language.

As with polyglossia, if tracklang.sty can't pick up the correct localisation from the language package it will need to be passed to tracklang through package options or explicitly tracked using commands provided in tracklang.tex.

Update 2020-03-02: Since babel doesn't currently provide a list of languages that have been loaded with \babelprovide, there's no way for tracklang (or any other package) to simply access that information. I will therefore have to close this as “can't implement” until babel provides an easy way of detecting which languages have been loaded with that command.

## Watch This Report

If you supply your name, it will be used in the email greeting, which provides a more personal message, otherwise you'll just get a generic greeting. If you have previously supplied your name when signing up for notifications, you don't need to resupply it unless you want to change it.

If you have previously subscribed to notifications for this report, you can unsubscribe by clicking on the "Stop Notification" button.

The "Confirm Bug ID" field helps to protect against spambots. Please enter the bug ID (which you can find at the top of this page).

Name: (Optional.)