I cannot get localized dates in the bibliography when using polyglossia and biblatex. Biblatex's manual says:
biblatex automatically adjusts to the main document language if babel or polyglossia is loaded
However, the following document does not produce the desired output.
%!TEX program = lualatex
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{main.bib}
@Article{reference,
author = {Doe, John},
title = {Some title},
journaltitle = {Awesome Journal},
volume = {12},
number = {8},
pages = {1234-5678},
date = {2018-12-11},
}
\end{filecontents}
\usepackage{csquotes}
\usepackage{polyglossia}
\setmainlanguage[variant=british]{english}
\usepackage[language=auto]{biblatex}
\addbibresource{main.bib}
\begin{document}
Citation~\cite{reference}.
\printbibliography
\end{document}
The reference is typeset as
John Doe. “Some title”. In: Awesome Journal 12.8 (Dec. 11, 2018), pp. 1234–5678.
While I want the date as
11 Dec. 2018
What am I missing?
polyglossiais complicated and does not quite work inbiblatex(see for example https://tex.stackexchange.com/q/432347/35864), if you don't have a very good reason to usepolyglossiaI would strongly urge you to usebabelwhere everything works as expected. (Whilepolyglossiawas intended to be a replacement forbabelin XeLaTeX and LuaLaTeX in recent years development has stalled and bug reports are mounting https://github.com/reutenauer/polyglossia/issues - to be fair not all open issues will be bugs, whilebabelis again actively developed.) – moewe Dec 11 '18 at 09:35