Obscure Pelican Compilation Warning

Obscure Warning Message

While performing a pelican compilation - "make html" - I got a warning which took me a long time to track down, like the one below.

WARNING  There are 2 original (not translated) items with slug "commonslugname":
         .../content/somedir/somename-fr.rst
         .../content/somedir/somename-en.rst

This type of warning usually means you forgot to change the :lang: attibute from en to es or to fr in the translated versions of the same .rst file.

This time, I checked the :lang: attributes on both files and they were correct. Everything else I looked at also seemed perfect.

It took me a long time to figure out, that the difference that was throwing off the compiler was that I had attibutes ":status: hidden" in both the -en, and the -fr, but not in the -es version.

So if you are making an article "hidden" be sure you do so in all translations.

Published by Pierre Bernatchez in «troubleshoot». Key Words: pelican, site, generation, obscure, compile, warning