Skip to content
Browse files

Vancouver with localized dates

  • Loading branch information...
1 parent 4ca6345 commit e134630ed4c23319eb3eb678238e584b02e505a5 @adam3smith adam3smith committed
Showing with 21 additions and 13 deletions.
  1. +21 −13 vancouver.csl
View
34 vancouver.csl
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal">
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal" default-locale="de-DE">
<info>
<title>Vancouver</title>
<id>http://www.zotero.org/styles/vancouver</id>
@@ -25,14 +25,30 @@
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale xml:lang="en">
+ <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="retrieved">available</term>
<term name="section" form="short">sect.</term>
</terms>
</locale>
+ <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>
+ <terms>
+ <term name="retrieved">disponible</term>
+ <term name="from">sur</term>
+ </terms>
+ </locale>
<locale xml:lang="de">
<terms>
- <term name="retrieved">verfügbar</term>
+ <term name="retrieved">verfgbar</term>
<term name="from">unter</term>
</terms>
</locale>
@@ -89,11 +105,7 @@
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
- <date variable="accessed" suffix="">
- <date-part name="year"/>
- <date-part name="month" prefix=" " form="short" strip-periods="true"/>
- <date-part name="day" prefix=" "/>
- </date>
+ <date variable="accessed" form="text"/>
</group>
</if>
</choose>
@@ -164,11 +176,7 @@
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group suffix=";" delimiter=" ">
- <date variable="issued" delimiter=" ">
- <date-part name="year"/>
- <date-part name="month" form="short" strip-periods="true"/>
- <date-part name="day"/>
- </date>
+ <date variable="issued" form="text"/>
<text macro="accessed-date"/>
</group>
</if>
@@ -253,4 +261,4 @@
<text macro="access"/>
</layout>
</bibliography>
-</style>
+</style>

0 comments on commit e134630

Please sign in to comment.
Something went wrong with that request. Please try again.