I am trying to typeset a document in British English, using XeLaTeX, Polyglossia and BibLaTeX, with APA-style references.
Unfortunately, I get the following error:
! Undefined control sequence.
<argument> \mkbibdateapalongextra
Below is a minimal working example:
\begin{filecontents}{mwe.bib}
@online{test2012,
author={John Doe},
title={It is not working},
date={2012-02-03},
url={http://google.com/},
urldate={2012-03-18}
}
\end{filecontents}
\documentclass[12pt,a4paper]{article}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\bibliography{mwe.bib}
\begin{document}
This is a reference. \cite{test2012}
\clearpage
\printbibliography
\end{document}
After appending the commands in this solution, I get a different error:
! Undefined control sequence.
<argument> \mkbibdateapalongmdy
The problem seems to be related to the question mentioned above, although British English is a common language, and the lbx files are present.