Hi,
I'm trying to use citations in German and running into some issues with the locators here.

A minimal-ish example:

bibliography.bib:
@Article{Mueller2015,
        author = {Frank Müller},
        title  = {This is annyoing},
        year   = {2015},
}


Let's start with English, where everything works as expected (locators in parenthesis):
---
lang: en-US
filters:
  - type: citeproc
bibliography:
  - bibliography.bib
---

Citation with nothing: [@Mueller2015, 12].

Citation with English page: [@Mueller2015, p. 12].

Citation with English chapter: [@Mueller2015, chap. 12].


becomes:

<p>Citation with nothing:<span class="citation" data-cites="Mueller2015"><sup>[1(p. 12)]</sup></span>.</p>
<p>Citation with English page:<span class="citation" data-cites="Mueller2015"><sup>[1(p. 12)]</sup></span>.</p>
<p>Citation with English chapter:<span class="citation" data-cites="Mueller2015"><sup>[1(Chapter 12)]</sup></span>.</p>

Now let's set the language to German and use German locators as in locales-de-DE.xml.

---
lang: de-DE
filters:
  - type: citeproc
bibliography:
  - bibliography.bib
---

Citation with nothing: [@Mueller2015, 12].

Citation with English page: [@Mueller2015, p. 12].

Citation with German page: [@Mueller2015, S. 12].

Citation with German chapter: [@Mueller2015, Kap. 2].

becomes:

<p>Citation with nothing:<span class="citation" data-cites="Mueller2015"><sup>[1(S. 12)]</sup></span>.</p>
<p>Citation with English page:<span class="citation" data-cites="Mueller2015"><sup>[1, p. 12]</sup></span>.</p>
<p>Citation with German page:<span class="citation" data-cites="Mueller2015"><sup>[1, S. 12]</sup></span>.</p>
<p>Citation with German chapter:<span class="citation" data-cites="Mueller2015"><sup>[1, Kap. 2]</sup></span>.</p>


As you can see the German locators are not recognized with a German locale.

For this example I'm using the APA numeric style, but I could reproduce the issue with any CSL style that I tried (and that differentiates between suffix and locator).

I hope that I provided enough information, I'll provide more if requested.
Also let me know if I should create an GitHub issue for this - I just assumed that the issue was on my side :)

Thanks in advance.
Siphalor

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1dd44886-7b79-4e5f-97ec-57b91113df36n%40googlegroups.com.