I noticed biblatex
uses the language option passed to polyglossia
first, before acknowledging the option passed to it via the language = <language>
option.
Here is the MWE that illustrates the problem.
\documentclass[slovene,a4paper,12pt]{article}
\usepackage{polyglossia}
\usepackage[language=slovene, backend=biber]{biblatex}
\usepackage[autostyle]{csquotes}
\setdefaultlanguage{slovenian}
\DeclareLanguageMapping{slovene}{slovene-apa}
\addbibresource{biblatex-examples.bib}
\begin{document}
Cite here \parencite{aksin}.
\printbibliography
\end{document}
The example compiles fine, but how can I avoid the warning given:
Package biblatex Warning: Language 'slovenian' not supported.
(biblatex) Using fallback language 'slovene' on input line 25.
biblatex
will always try to automatically detect the language from the default polyglossia/babel language first. This is an annoying artefact due to biblatex and polyglossia naming languages differently. I hope in the future that polyglossia and babel can standardise on BCP47 locale names (biber already supports these and maps internally to the polyglossia/babel names).andothers
orpages
still lack translation into Slovene/Slovenian language (sl-SI). PS: What is the\DeclareLanguageMapping
for?