I am using biblatex and would like to quote English and German works. When writing a document in German, this works nicely with the help of \DeclareLanguageMapping
and hyphenation to specify if a reference should be quoted in either German or English style.
However when writing the document I need the German bibliography entries to be changed - by adding the English translation in brackets in the corresponding fields (see attached MWE).
\documentclass{article}
\usepackage[english,american,ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{extarrows}
\usepackage{csquotes}
\usepackage[style=apa,
bibencoding=utf8,
sortcites=true,
bibwarn=true,
firstinits=true,
isbn=false,
dashed=false,
maxbibnames=99,
babel=other,
backend=biber,
hyperref=true]{biblatex}
\begin{filecontents}{myworks.bib}
@article{articleD,
author = {Peter Adams},
title = {Deutscher Titel},
journal = {Journalname},
year = 1993,
number = 2,
pages = {201-213},
month = 7,
note = {Beispielkommentar},
keyword = {D},
volume = 4
}
@article{articleE,
author = {Peter Adams},
title = {English Title},
journal = {The name of the journal},
year = 1993,
number = 2,
pages = {201-213},
month = 7,
note = {An optional note},
keyword = {E},
volume = 4
}
\end{filecontents}
\addbibresource{myworks.bib}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\DeclareLanguageMapping{american}{american-apa}
\begin{document}
\nocite{*}
\selectlanguage{american}
\printbibliography[keyword=E]
\end{document}
One can achieve this by have a German and a English version of each bibliography entry (cf article, articleE), however this is not a nice solution. The best way for keeping the bibliography would be something like this (where translation is added after the title in brackets when the document is being written in English):
@article{article,
author = {Peter Adams},
title = {Deutscher Titel},
titleE = {English Title},
journal = {Journalname},
journalE= {The name of the journal},
year = 1993,
number = 2,
pages = {201-213},
month = 7,
note = {Beispielkommentar},
noteE = {An optional note},
keyword = {E},
volume = 4
}
resulting in
Adams, P. (1993). Deutscher Titel [English Title]. Journalname/The name of the journal, 2, 201–213.
Does anyone know how to achieve this?
Cheers
origtitle
,titleaddon
, ...). There is (was?) a plan to have a "multiscript" version ofbiblatex
that would allow for that natively without having to define new fields (ms
branch on github and this issue), but development seems to have stalled in the last months or so..dbx
file). You will then have to inject those new fields into the appropriate macros so that they are indeed printed in the end. I believe there is no "automatic" way to do that for all fields, you will have to do that for each field manually. (The unreleased ms version ofbiblatex
would of course do half of this for us automatically.).dbx
files.