Help: testing a new plugin to support multilingual citation in Zotero
https://github.com/boan-anbo/cite-non-english
Since Juris-M is no longer actively maintained, this plugin aims to add support for multilingual citations within Zotero.
It involves a lot of hacking, unfortunately, including but not limited to using technically invalid CSL styles.However, the plugin should just "work" and the correctness of the formatted output is covered by extensive testing.
Please help me further test it and/or suggest new features if you find it useful.
I try to avoid the more hacky approaches and build upon existing features of Zotero, CSL, and citeproc-js whenever possible. But in order to be faithful to the style guide requirements, I had no choice but to add some ugly hacks such as embedding stringified plugin config data in the CSL info section.
For this reason, I was also hoping to know what Zotero and CSL maintainers think of the plugin's approach. Any pointers regarding less hacky approaches and APIs that could better support multilingual citations would be greatly appreciated.
Since Juris-M is no longer actively maintained, this plugin aims to add support for multilingual citations within Zotero.
It involves a lot of hacking, unfortunately, including but not limited to using technically invalid CSL styles.However, the plugin should just "work" and the correctness of the formatted output is covered by extensive testing.
Please help me further test it and/or suggest new features if you find it useful.
I try to avoid the more hacky approaches and build upon existing features of Zotero, CSL, and citeproc-js whenever possible. But in order to be faithful to the style guide requirements, I had no choice but to add some ugly hacks such as embedding stringified plugin config data in the CSL info section.
For this reason, I was also hoping to know what Zotero and CSL maintainers think of the plugin's approach. Any pointers regarding less hacky approaches and APIs that could better support multilingual citations would be greatly appreciated.
Upgrade Storage
Correct me if I'm wrong. The non-English citation fields are not linked to the actual content in the Zotero reference. Am I correct?
Using your example, my library has Hua, Linfu as the author, and the title in pinyin:
https://s3.amazonaws.com/zotero.org/images/forums/u41756/l2i0eo1uz0tw7tkm231s.png
As the result shows, there should be no problem when producing the multilingual citation:
https://s3.amazonaws.com/zotero.org/images/forums/u41756/k6tt8o36n6k3r3wmc0h0.png
I find it easier to organize my library by using the romanized name in the author field, but I hope the citation will have the Chinese name when needed. So I hope this is the correct way of using your plugin.
Now, the main challenge I encounter when using this in my large library is that I need to enter the plugin fields manually for each reference. Suppose I have a long list of references by Hua Linfu. Is there a way to copy the author fields and quickly paste them into other references by the same author?
How about pasting CNE fields into other references?
Many many thanks for this highly practical and important plugin, which has been immensely helpful for multilingual research and writing. After some actual using, I'd be sincerely grateful if you could consider the following observations and (please forgive any errors in my usage and kindly offer guidance, since I have little knowledge of programming):
- Potential problems:
1. When the Item Type is set to 'Book', after completing all CNE fields, selecting the 'Chicago 18th ed. (note and bibliography)-cne citation style' in Word causes the footnote to incorrectly render the Zotero 'series' field instead of the Zotero 'Publisher' or 'cne-publisher original' field. for instance: "中國方志叢書 112" ought to be "成文出版社"
https://s3.amazonaws.com/zotero.org/images/forums/u6175825/erppsl6rav6kq97fha8v.png
https://s3.amazonaws.com/zotero.org/images/forums/u6175825/vauciazptt881m5trtj9.png
2. When the Item Type is set to 'Book Section', 'cne-publisher original' fields are not rendered in the footnote (probably the same problem with the first one).
https://s3.amazonaws.com/zotero.org/images/forums/u6175825/yqja3amzvrfkeainrxpe.png
https://s3.amazonaws.com/zotero.org/images/forums/u6175825/dxmxxh7akeso44wkufn6.png
https://s3.amazonaws.com/zotero.org/images/forums/u6175825/8pryn78ercyxz0u71v4x.png
It seems the Zotero 'series' field is still coupled.
I wholeheartedly agree with your design of decoupling CNE plugin from the Zotero native fields, since the users habits of filling the native fields vary and the citation style tend to uniform.
Thank you very much again.
Many thanks to developing this plugin.
I have been using this plugin so far, but I have an issue with the bibliography function.
I cite both English and Korean literature, and whenever I make bibliography (in English) in the Word processer, it lists all the English literature first and then all the Korean literature, which makes it unorganized in the alphabetical order as a whole.
For example, it goes:
Kruger
Loft
Peterson
Kim
Lee
Park
, where the first three are English literature and the latter three are Korean literature set as ko-KR.
I cannot seem to find a way to make it like the following:
Kim
Kruger
Lee
Loft
Park
Peterson
I would greatly appreciate it if I am missing something, or it is what the plug-provides as of now.
https://github.com/boan-anbo/cite-non-english/releases/tag/v0.1.3
The main change is that the CNE Chicago style should no longer use Zotero’s native `Series` / `Series Number` fields where the
publisher belongs. For CNE-managed items, it now looks for the CNE publisher fields first, then falls back to Zotero’s normal
`Publisher` field.
I also added a few tests based on examples like the ones in your screenshots, including both Book and Book Section cases.
Let me take a look now.
Will release an update if I find a solution.
Thanks for reporting this so clearly. You were not missing a setting. This was a limitation/bug in the bundled CNE citation styles: mixed English and Korean bibliography entries could be sorted in separate groups instead of using one shared alphabetical order.
It should have been fixed in CNE v0.1.4: https://github.com/boan-anbo/cite-non-english/releases/tag/v0.1.4
With the updated plugin/styles, CNE now uses the romanized CNE creator/title fields as bibliography sort keys when available, so Korean entries such as Kim, Lee, and Park should sort together with English entries such as Kruger, Loft, and Peterson.
After installing v0.1.4, please refresh the Zotero citations/bibliography in Word. For Korean items, please make sure the relevant CNE romanized creator fields are filled in, since those are what CNE uses for cross-language sorting.
Please let me know if you still see separated English/Korean groups after updating.