Switching locales depending on language of source
Hi,
Is it possible to choose a different locale (language style) depending on the language in which the source is written?
For example I need "Vol." and "No." for English journal articles, but "Jg." and "H." for German journal articles.
I think I've read something about this topic somewhere here, but cannot find it...
Any suggestions?
Is it possible to choose a different locale (language style) depending on the language in which the source is written?
For example I need "Vol." and "No." for English journal articles, but "Jg." and "H." for German journal articles.
I think I've read something about this topic somewhere here, but cannot find it...
Any suggestions?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
<if locale="de">
https://our.law.nagoya-u.ac.jp/updater/styles/jm-chicago-fullnote-bibliography-polyglot.csl?install=1
You can install styles using these features into regular Zotero. It will warn you that the style is not valid (these features are not part of regular CSL language), but it will still work.
1. You can use multiple layout elements. This is jm-chicago-fullnote-bibliography-polyglot does. This will change all locales for a reference.
2. If you need only certain elements to be localized, you can check for the locale in an if element (see above).
Depending on your particular needs, one solution might be better.
Also note that the style linked by @bwiernik declares itself as a csl-m file (
version="1.1mlz1"
). This should ensure the processor runs in csl-m mode and that the extensions to standard csl can be used. I am not sure if this is strictly necessary. Perhaps @fbennett can elaborate on this.