I am trying to edit a bibliography style file (bst) such that
it only prints the language part if the item is not in English.
For example I want to have "(in German)"
if the item is not English but
I do not have any idea how to modify this part to achieve it:
FUNCTION {format.language}
{ language "language" bibinfo.check
duplicate$ empty$ 'skip$
{
new.block
"(in " swap$ * ")" *
} if$
}
Best Answer
you need an entry
language
in the list of entries (at the beginning of the bst-file) and then:If your style file has no entries for the language then you have to add something like:
My example output looks like
with the following bib data: