Pagenumber won't show when I use Norwegian localization

I have tried to get zotero to show the citations in Norwegian, for example with s. instead of the default p. for page numbers. I have followed various instructions on the forum and have tried to change the extensions.zotero.export.bibliographyLocale in about:config and I have tried to install Firefox in Norwegian, but it did not work. When i try to enter the pagenumber, for example 15, in the citation i get a "p. 15" in the preview and just " 15" in the actual citation.

I am using Firefox 10.0, Zotero 3.0.1, Word plugin 3.1.5 and Microsoft Office 2010 and Windows 7.

Has anybody else had this problem or does somebody know how to fix this?
  • Which style are you using?
  • Hi,

    I'm using Chicago Manual of Style (note).
  • CMoS doesn't seem to use a page locator label ("p. ") before the page number: http://owl.english.purdue.edu/owl/resource/717/03/
  • Hmm, thats weird.

    Do you have any suggestions on a style that uses footnotes and page locator labels? Preferrably without citation marks (") before and after the citation.

    I'm pretty new to Zotero so I just used CMoS as that was the default style, but looking at other litterature in my field, norwegian law, I can see that they use a slightly different citation style.

    Thanks for your help
  • Nothing I know of. There aren't that many note based styles - you can have a look at them on the repository at zotero.org/styles and see if one fits. In general, national legal styles are a bit of a mess, though.
  • Okay. Thanks for your input. After searching around the forum i discovered this post, http://forums.zotero.org/discussion/14421/ , and the author had the same request as me. I tried to follow the instructions given in the post, but without luck. As far as I can see the csl file for CMoS (note) has changed since the instructions were given. Is this correct or am I doing something wrong?
  • yes, the style has changed.
  • Okay. I finally managed to add the "s." with changing group delimiter under the citation "section" of the csl file.

    <else>
    <group delimiter=" s. ">
    <text macro="contributors-short"/>
    <text macro="title-short"/>
    <text macro="point-locators-subsequent"/>
    </group>

    Do you know a way to remove the " before and after the book title etc.. and disable the capitalization of every first letter in the title?
  • your solution won't work well - you'll get two s. in there - before the short title and before the locator.

    To get rid of title casing find text-case="title" and delete it.
    To get rid of quotation marks, find quote="true" and delete it.
    (Both may occur several times)
  • Ah I can see that now. Do you have a suggestion for a better solution?

    Thank you very much for the title casing and quotation mark fixes, I really appreciate it!
  • find the macro "point-locators-subsequent" and replace it with this (the original will look quite similar and also start with <macro name="point-locators-subsequent">):

    <macro name="point-locators-subsequent">
    <choose>
    <if variable="locator">
    <choose>
    <if type="bill book graphic legal_case motion_picture report song" match="any">
    <choose>
    <if variable="volume">
    <group>
    <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
    <number variable="volume" form="numeric"/>
    <label variable="locator" form="short" prefix=", " suffix=" "/>
    </group>
    </if>
    <else>
    <label variable="locator" form="short" suffix=" "/>
    </else>
    </choose>
    </if>
    <else>
    <label variable="locator" form="short" suffix=" "/>
    </else>
    </choose>
    <text variable="locator"/>
    </if>
    </choose>
    </macro>
  • Thank you! That worked excellently.

    The only problem now is that the p. does not change to my localization. I have tried to set "extensions.zotero.export.bibliographyLocale;nb-NO" but that did not work.

    As I understand this should change it to s. as is the short for "side"(page) in Norwegian.

    Because Rintze said that CMoS does not support the page locator, I wanted to know if there was a way to get the "s." in there as an "easy fix". Now that you have solved the problem with the page locator I am back to the first problem again :P

    I hope I'm not creating to much trouble for you..
  • "I have tried to set "extensions.zotero.export.bibliographyLocale;nb-NO""

    that certainly should work - I assume you mean you have set that preferencs too nb-NO.

    Alternatively, try in your modfied copy of CMoS to include default-locale="nb-NO" in the style element as in:
    <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" default-locale="nb-NO">

    (Also, remember you need to change the id of your style - else it may get overwritten by future updates of Zotero.)
  • That worked perfectly! Thank you very much for your help!

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.

Sign In or Register to comment.