seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
73 stars 38 forks source link

Sort separator parameter does not show up for Arabic author name #178

Open israelcefrin opened 8 months ago

israelcefrin commented 8 months ago

Please follow the general troubleshooting steps first:

Bug reports:

In Open Journal Systems, we use citeproc-php to render citation format. It turns out that when using names in Arabic language, the sort-separator, usually a comma "," is not being displayed. See an example from this link on "How to cite" section: https://journals.ku.edu.kw/jgaps/index.php/jgaps/article/view/2963

When using English locale, there is a comma separating Family Name from the initial of the Given Name. Switching to Arabic, the comma disappears.

Used CSL stylesheet:

apa.csl

Used CSL metadata

Please replace these lines with your used metadata, for instance:

[
    {
        "author": [
            {
                "family": "تاج الدين", 
                "given": "الياقوت"
            }
        ]
    }
]

English

image

Arabic

image