diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index 0abbf84d0..18af89421 100644 --- a/chrome/content/zotero/xpcom/citeproc.js +++ b/chrome/content/zotero/xpcom/citeproc.js @@ -6719,9 +6719,10 @@ CSL.NameOutput.prototype._isRomanesque = function (name) { if (!ret && name.given && name.given.match(CSL.STARTSWITH_ROMANESQUE_REGEXP)) { ret = 1; } - if (ret == 2 && name.multi && name.multi.main) { - var top_locale = name.multi.main.slice(0, 2); - if (!top_locale && this.Item.language) { + if (ret == 2) { + if (name.multi && name.multi.main) { + var top_locale = name.multi.main.slice(0, 2); + } else if (this.Item.language) { top_locale = this.Item.language.slice(0, 2); } if (["ja", "zh"].indexOf(top_locale) > -1) {