Changing languages in a citation style
Hi All
I know I can change the interface language for Zotero, but what if I want to use a style I created in English but in a Swedish document (so "and" becomes "och", "In" becomes "I"). Is there an easy function for this or do I need to create a (nearly) duplicate style?
I know I can change the interface language for Zotero, but what if I want to use a style I created in English but in a Swedish document (so "and" becomes "och", "In" becomes "I"). Is there an easy function for this or do I need to create a (nearly) duplicate style?
There is also the option to change the language setting in citation styles that have the language hardcoded into the style.
Which style are you looking to use?
In the first line of the code you will find something like default-locale="en-GB".
Change that to sv-SE and the style will be set to Swedish.
(you can also do this in the visual editor under "Global Formatting Options": https://editor.citationstyles.org/visualEditor/)
General instructions here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
You can see how it will be translated here: https://github.com/citation-style-language/locales/blob/master/locales-sv-SE.xml