Date in French in Vancouver style citation Zotero version 5.0.55

dear colleague,
I use the last release of Zotero and when I add a literature reference using the Vancouver style citation tool, the date is written in French language "jour mois année" instead of the expected "year month day".
Has anyone met the same issue?
Could you please help me?
Thank you
  • I have found the solution.
    Thank you
  • Bonjour,
    La même question m'a été posée : quelle solution avez-vous trouvée?
    Merci,
    Bien à vous,
    Frédérique
  • You can change the language of the style to English in the Document Settings of the Zotero Word add-on
  • Thank you. Then the whole entry is in English. Is it possible to have only the date in English?
  • No, not without modifying the style
  • What changes should be made? I have not found the answer in the documentation - https://docs.citationstyles.org/en/stable/specification.html#date
  • It's a bit involved -- what's this for?
    The basic answer is that you either need to change the localized French date in the locale section of the style or you need to replace the date with hard-coded date-parts
  • Thank you. In the first option (change the localized French date in the locale section of the style), how the following section of code should be edited?


    <locale xml:lang="fr">
    <date form="text" delimiter=" ">
    <date-part name="day"/>
    <date-part name="month" form="short" strip-periods="true"/>
    <date-part name="year"/>
    </date>
    </locale>
  • How do you want the date to look?
  • Following this example :
    2002 Jul 25
    Year month as short text day
  • <locale xml:lang="fr">
    <date form="text" delimiter=" ">
    <date-part name="year"/>
    <date-part name="month" form="short" strip-periods="true"/>
    <date-part name="day"/>
    </date>
    </locale>
  • Thank you very much! Then to have the month in English it would look like :

    <locale xml:lang="fr">
    <date form="text" delimiter=" ">
    <date-part name="year"/>
    <date-part name="month" form="short" strip-periods="true"/>
    <date-part name="day"/>
    </date>
    <term name="month-07" form="short">Jul</term>
    <!--add all other months-->
    </locale>
  • The terms need to be in a terms XML tag so
    <locale xml:lang="fr">
    <date form="text" delimiter=" ">
    <date-part name="year"/>
    <date-part name="month" form="short" strip-periods="true"/>
    <date-part name="day"/>
    </date>
    <terms>
    <term name="month-07" form="short">Jul</term>
    <!--add all other months-->
    </terms>
    </locale>
  • I have corrected.
    Zotero Style Editor did not display an error message for that.
  • The style editor doesn't do validation and the processor tries to be somewhat generous with non-valid styles, hence no error message, but people would get a warning trying to install the file.
Sign In or Register to comment.