Unwanted change to "Language" field during import from .bib to Zotero.
I find that Zotero will change the text in 'Language' field from .bib during import. For example, the "language = {en}" in the .bib below:
@article{r1022,
author = {Ospppo, A},
title = {Corynebacterium-associated skin infections},
journal = {Ann Dermatol Venereol},
language = {en},
year = {2018},
volume = {145},
number = {3},
pages = {214-218},
}
the "Language" field will be changed to "english" in Zotero database after import, instead of "en" as in the .bib.
How can I prevent this unwanted change please? Can we edit the 'import filter'?
By the way, I installed the "Better BibTeX" plugin. But it does not provide a way to prevent the automatic unwanted change.
Appreciate any hints.
Miya
@article{r1022,
author = {Ospppo, A},
title = {Corynebacterium-associated skin infections},
journal = {Ann Dermatol Venereol},
language = {en},
year = {2018},
volume = {145},
number = {3},
pages = {214-218},
}
the "Language" field will be changed to "english" in Zotero database after import, instead of "en" as in the .bib.
How can I prevent this unwanted change please? Can we edit the 'import filter'?
By the way, I installed the "Better BibTeX" plugin. But it does not provide a way to prevent the automatic unwanted change.
Appreciate any hints.
Miya
Is this a valid reason for hoping to keep the 'en' instead of 'english'?
default-locale="zh-CN"
*locale*
*terms*
*term name="edition"*第%s版*/term*
*/terms*
*/locale*
*locale xml:lang="en"*
*terms*
*term name="edition"*%s*/term*
*/terms*
*/locale*
*bibliography et-al-min="99" et-al-use-first="3" entry-spacing="0"*
*layout suffix="" locale="en"*
*text macro="bib-entry-en"/*
*/layout*
*layout suffix=""*
*text macro="bib-entry-zh"/*
*/layout*
*/bibliography*
So I want Zotero NOT to change the 'en' to 'english' during import.
Could you tell more about how Better BibTeX can keep the text in the 'Language' field in .bib during the import process, instead of being automatically changed by Zotero please?
If without Better BibTeX, how can we set up Zotero itself not to change 'en' in .bib to 'english' in Zotero?
Thanks all,
Gary
If you post an issue to the BBT github with details of what you want, there's a good chance Emiliano will help you in more detail.
I have a related question but in principle. What is the specification of the Language field in Bibtex?
The conversion is an issue of course, but what I also see is a spectrum such as German, german, ger, ... which I would expect to be standardized as 'de', 'en', etc.
Also where does Zotero fetch the bibtex-information from (which service, server) if entering an for example ISBN, does anyone know?
In the mentioned refs (1+2), I don't find the answer.
Refs:
1: https://ctan.mirror.norbert-ruehl.de/biblio/bibtex/base/btxdoc.pdf
2: http://texdoc.net/texmf-dist/doc/bibtex/tamethebeast/ttb_en.pdf
1. The US Library of Congress
2. The German K10+ federated catalog
3. The French National Library
4. Open Worldcat (which has significantly worse metadata than 1-3)
For the language names in bibtex, I believe BBT uses languages as used in biblatex, which in turn uses babel/polyglossia (see 2.2.3 in the BibLaTeX guide). Zotero otoh recommends ISO two-latter codes. Any questions about BBT beyond that is likely better on the project github.
language
fields with the un-meddled-with value from the Zotero language field. Please open an issue on github for this.(see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
Thanks @emilianoeheyns , but I did not fully understand that part "un-meddled-with value"?
So you mean that the import stays, example: Import is "Eng" (whichever database) and then Zotero is converting for Export to two-letter, say "en" ?
Also note:
Reading: https://www.zotero.org/support/requested_features
"Batch editing" Status: Tentatively scheduled for version 5.2
Ticket: https://www.zotero.org/trac/ticket/364
Inside ticket reads:
Opened 16 years ago
Last modified 12 years ago
#364 new enhancement
Regards
language
field during import will be written into the language field of Zotero as-is. ChangingEng
toen
is BBTs existing behavior.