Translating "ibid"

I have tried to translate the term ibid (to ebd) in OSCOLA style.
https://editor.citationstyles.org/styleInfo/?styleId=http://www.zotero.org/styles/oscola

I changed the term in lines 556-564:

<if position="ibid-with-locator">
<group delimiter=" ">
<text term="ebd" strip-periods="true" text-case="lowercase"/>
<text variable="locator"/>
</group>
</if>
<else-if position="ibid">
<text term="ebd" strip-periods="true" text-case="lowercase"/>
</else-if>


However, it doesn't work. Instead of "ebd 123", only the page number (123) appears. If the page number is the same again, instead of only "ebd", the following error message appears:
[CSL STYLE ERROR: reference with no printed form.].

How can I fix this?
  • No, that's not how that works.

    Change that back to "default-locale="en-GB" and save the style.
    then you can choose a language under Document Preferences in Word and all the terms will be automatically translated. Eds. becomes "Hrsg." and so on.

    If you ONLY want the ibid>ebd. change, then let us know and we tell you what to do.

  • Ah, thank you.
    How can I have ebd capitalized in the beginning? (Ebd)
    How could I use a completely other abbreviation?
  • edited June 14, 2023
    You would redefine the term.
    This coulds after the info section and before the first macro. (or just the line with the term if there is already a locale section for the language that you're changing). And obviously adapt the language here with "de" for German, if it is not German that you're editing. "en" for English etc...

    E.g.:

    <locale xml:lang="de">
    <terms>
    <term name="ibid" form="short">herbert</term>
    </terms>
    </locale>
  • edited June 14, 2023
    This somehow doesn't work. It does not change.
    I also tried it with only `locale´, but it does not change.
  • Share your modified code via pastebin.com and I'll take a look.
  • here:
    https://pastebin.com/Zvhkp78T
    without the ´locale xml:lang="de"´-section it is the same.
  • remove the form="short" in the term definitions for ibid.
    (FWIW, currently Zotero is using the terms without xml:lang="de" -- if you want German terms by default, remove the default-locale="en-GB" at the top of the style.)
  • Thank you very much.
    How can I capitalize it? (Ebd)
  • Remove text-case="lowercase" in l. 564 and 569 of your linked code.
Sign In or Register to comment.