International support for citation formatting
Hi
I have found that CSL seems to "know" about language substitutions by default. For example if one removes
default-locale="en-GB"
from the line below taken from a CSL style file, the drop-down menu for language support is activated in the "Zotero - Document - Preferences" window.
This allows language-specific substitutions, but it does not work perfectly for Swedish. For example in English(US), a change from "p." to "pp." is automatic depending on the number of pages. Alas, not in Swedish where one gets "s." for both single and page ranges (would like "ss."). Also, sometimes one would like to use "et al." and not the Swedish "m.fl.".
Can someone explain how this works?
How can one address/override this?
Thanks in advance,
Kurt
I have found that CSL seems to "know" about language substitutions by default. For example if one removes
default-locale="en-GB"
from the line below taken from a CSL style file, the drop-down menu for language support is activated in the "Zotero - Document - Preferences" window.
This allows language-specific substitutions, but it does not work perfectly for Swedish. For example in English(US), a change from "p." to "pp." is automatic depending on the number of pages. Alas, not in Swedish where one gets "s." for both single and page ranges (would like "ss."). Also, sometimes one would like to use "et al." and not the Swedish "m.fl.".
Can someone explain how this works?
How can one address/override this?
Thanks in advance,
Kurt
A number of Swedish universities use the "ss." as plural. Some also promote et al. instead of m.fl..
Can I/should I override some abbreviations as specified in the locale by including them in the style? If so, can you give an example how?
Rather than just sending you a link to a rather large spec sheet, here is an example.
This needs to be placed straight after the "info" section at the very beginning. In this example it will render et al. to et al. despite the fact that it would normally render it to m.fl. in swedish.
More examples are given here: http://docs.citationstyles.org/en/stable/specification.html?highlight=container-author#id30
<locale xml:lang="sv">
<terms>
<term name="et-al">et al.</term>
</terms>
</locale>
For your particular example of using "ss.", you can also force the style to always use the plural form of the page term, e.g. with
<label variable="page" plural="true"/>
. See http://docs.citationstyles.org/en/stable/specification.html#label.