Despite the document being in Italian, the online entries of the bibliography are in English (Available on: http://whatever.com [Accessed on: 2002 Jan 8]
instead of : Disponibile su: http:whatever.com [Consultato 8 Gen 2022
]
I do not understand why the language preference is not passed to this item.
Is there a way to fix it or, at least, redefine the labels?
This is a MWE
\documentclass[chapterprefix=true]{scrbook}
\setcounter{secnumdepth}{0}
\usepackage[table]{xcolor}
\usepackage{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{textcomp}
\usepackage{indentfirst}
\usepackage{times}
\usepackage{mathptmx}
\usepackage{setspace}
\usepackage{tikz}%per la flowchart
\usetikzlibrary{positioning,chains}
\doublespacing
\usepackage{caption} %per aggiungere captions al PRISMA ed evitare il floating delle tavole
\usepackage{booktabs} % For prettier tables
\usepackage[style=vancouver,citestyle=numeric-comp,sorting=none,isbn=false,url=false,eprint=false, doi=false]{biblatex}
\doublespacing
\makeatother
\defbibheading{bibliography}[\bibname]{%
\subsection*{#1}%ridefinisce l'heading della bibliografia come subsection
\addxcontentsline{toc}{subsection}{#1}}%lo aggiunge alla TOC
\addbibresource{LGBiBiblio.bib}
\renewbibmacro*{url+urldate}{}
\begin{document}
\author{}
\subject{Linea Guida}
\title{\textbf{Il trattamento laparoscopico di laparocele e ernie ventrali}}
\subtitle{}
\titlehead{}
\date{Gennaio 2022}
\frontmatter
\maketitle
\tableofcontents
\chapter{Intro}
This is a text citing a journal\cite{ahmed2011a}
This is another text citing an @online source\cite{wells}
\printbibliography
\mainmatter
\part{Sviluppo della linea guida}
\chapter{one}
\textbf{text}
text
\end{document}
and these are the entries of the MWE:
@online{wells,
title = {The {{Newcastle-Ottawa Scale}} ({{NOS}}) for Assessing the Quality of Nonrandomised Studies in Meta-Analyses},
author = {{Wells GB} and Shea, B and O'Connell, D and Peterson, J and Welch, V and Losos, M and Tugwell, P},
url = {http://www.ohri.ca/programs/clinical_epidemiology/oxford.asp},
urldate = {2022-01-08},
file = {/home/fabio/Zotero/storage/WMUVSDY7/oxford.html}
}
@article{ahmed2011a,
title = {A Simple Technique of Regional Anesthesia to Reduce Opioid Requirements Postoperatively in Laparoscopic Incisional Hernia Repairs},
author = {Ahmed, M. and Alibhai, M. and Pattar, J. and Duffield, R. G.},
date = {2011-04},
journaltitle = {Surg Laparosc Endosc Percutan Tech},
shortjournal = {Surgical laparoscopy, endoscopy \& percutaneous techniques},
volume = {21},
number = {2},
pages = {e70-1},
issn = {1530-4515},
doi = {10.1097/SLE.0b013e31820afdad},
abstract = {Laparoscopic incisional hernia repair can be associated with initial postoperative pain requiring opioids in the form of patient controlled analgesia (PCA). Our study demonstrates the use of an innovative form of intra-operative regional anaesthesia in the form of an abdominal extraperitoneal block (AEP) which reduced mean opioid consumption in our patients by 62\% without any intra-operative complications.},
langid = {english},
file = {/home/fabio/Zotero/storage/4GUS9968/Ahmed et al. - 2011 - A simple technique of regional anesthesia to reduc.pdf;/home/fabio/Zotero/storage/P8M8GJPW/Ahmed M_2011_SIGN.pdf}
}
Best Answer
The
vancouver
style you are using hard-codes the English text. This is not standard practice forbiblatex
styles, sincebiblatex
provides a localisation/translation interface for strings.I would not use
biblatex-vancouver
. Instead I would try to achieve the desired layout starting from one of the standard styles (or maybe frombiblatex-ext
).Assuming you use
vancouver
because you want to follow Vancouver style (NLM's Citing Medicine, https://www.ncbi.nlm.nih.gov/books/NBK7256/) I would go for something like the following, which uses standardbiblatex
interfaces for strings (so that they are easy to translate).