Como alterar a abreviatura do tradutor no biblatex

Como alterar a abreviatura do tradutor no biblatex

Gostaria de alterar a abreviatura atual "Übers. von" para "Übersetzt von" para tradutores no bibltex. Parece haver uma pergunta semelhante, mas a parte do tradutor foi omitida na resposta:Biblatex: Evite abreviações para "editor" ou "tradutor" (modificando o estilo bibstyle do historiador) saída Agradeço antecipadamente!

Arquivo bíblico:

@book{Hammitzsch.1962,
 editor = {Hammitzsch, Horst},
 year = {1962},
 location = {T\={o}ky\={o}, Wiesbaden},
 publisher = {Otto Harrassowitz},
 addendum = {Deutsche Gesellschaft für Natur- und Völkerkunde Ostasiens; 43},
 title = {Rikkokushi. Die amtlichen Reichsannalen Japans},
 subtitle = {Die Regierungs-annalen Kammu-Tenn\={o}. Shoku Nihongi 36-40 und Nihon-K\={o}ki 1-13},
 translator = {Lewin, Bruno},
 keywords = {primary}
} 

Arquivo principal

\documentclass[12pt,a4paper,headings=standardclasses,numbers=noenddot]{scrreprt}
%\usepackage{showframe}
\usepackage[left=2.50cm, right=2.50cm, top=2.50cm, bottom=2.00cm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage[main=ngerman, english]{babel}
\usepackage[babel, german=quotes]{csquotes}
\usepackage[ngerman]{isodate}
\usepackage[ngerman]{datetime}

 \usepackage[
    backend=biber,
    style=authoryear,
    sorting=nyvt, % sort by name, year, volume, title
    maxnames=25, % max author names before abbr
    dashed=false % multiple works of an author
  ]{biblatex}
 \addbibresource{library.bib}

\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\renewcommand\postnotedelim{\addcolon\addspace}
\DeclareFieldFormat
  [article,inbook,incollection,inproceedings,patent,unpublished]
  {title}{#1\isdot}

\begin{document}
\nocite{*}
\printbibheading[heading=bibintoc,title={Literaturverzeichnis}]
\printbibliography[heading=subbibliography,keyword={primary},title={Prim{\"a}rquellen}]
\end{document}

Responder1

As strings são todas definidas em <language>.lbxarquivos. Para ngerman, você notará que this faz referência german.lbxà maioria de suas strings. Você pode procurar neste arquivo as strings que deseja alterar e redefini-las usando \DefineBibliographyStringsassim:

\makeatletter
\DefineBibliographyStrings{ngerman}{%
  bytranslator = {\lbx@lfromlang \"ubersetzt von},
}
\makeatother

MWE completo:

\documentclass[12pt,a4paper,headings=standardclasses,numbers=noenddot]{scrreprt}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Hammitzsch.1962,
 editor = {Hammitzsch, Horst},
 year = {1962},
 location = {T\={o}ky\={o}, Wiesbaden},
 publisher = {Otto Harrassowitz},
 addendum = {Deutsche Gesellschaft für Natur- und Völkerkunde Ostasiens; 43},
 title = {Rikkokushi. Die amtlichen Reichsannalen Japans},
 subtitle = {Die Regierungs-annalen Kammu-Tenn\={o}. Shoku Nihongi 36-40 und Nihon-K\={o}ki 1-13},
 translator = {Lewin, Bruno},
 keywords = {primary}
} 
\end{filecontents}

\usepackage[main=ngerman, english]{babel}
\usepackage[babel, german=quotes]{csquotes}

 \usepackage[
    backend=biber,
    style=authoryear,
    sorting=nyvt, % sort by name, year, volume, title
    maxnames=25, % max author names before abbr
    dashed=false % multiple works of an author
  ]{biblatex}
\addbibresource{\jobname.bib}

\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\renewcommand\postnotedelim{\addcolon\addspace}
\DeclareFieldFormat
  [article,inbook,incollection,inproceedings,patent,unpublished]
  {title}{#1\isdot}

\makeatletter
\DefineBibliographyStrings{ngerman}{%
  bytranslator = {\lbx@lfromlang \"ubersetzt von},
}
\makeatother

\begin{document}
\nocite{*}
\printbibheading[heading=bibintoc,title={Literaturverzeichnis}]
\printbibliography[heading=subbibliography,keyword={primary},title={Prim{\"a}rquellen}]
\end{document}

saída

informação relacionada