Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Localized symbol form of term and as in American Psychological Association 7th edition for zh locale #7089

Open
jiaojiaodubai opened this issue Jun 19, 2024 · 3 comments

Comments

@jiaojiaodubai
Copy link

jiaojiaodubai commented Jun 19, 2024

I used Zotero's build-in style editor to make some slight changes to APA 7 for a user who are not familiar with XML, I tried adding following codes, but it didn't work.

<locale xml:lang="zh">
  <terms>
    <term name="and" form="symbol">和</term>
  </terms>
</locale>
@zepinglee
Copy link
Contributor

In v1.0.2 spec, and="symbol" selects the fixed symbol ampersand and thus form="symbol" doesn't work with and term. I don't think such additional form is needed because the expected result can be achieved via the following modifications.

  • Replace all occurences of and="symbol" with and="text".
  • Set the and term for zh.
  <locale xml:lang="zh">
    <terms>
      <term name="and">和</term>
    </terms>
  </locale>
  • Set the and terms for other locales if the multi-layout feature in CSL-M is enabled.
  <locale>
    <terms>
      <term name="and">&amp;</term>
    </terms>
  </locale>
Screenshot 2024-06-19 at 15 32 22

@bwiernik
Copy link
Member

This is something slated to be possible in CSL 1.1, but it's not currently possible in CSL 1.0.2. To localize the "and" symbol, use the "no ampersand" version of APA style.

@github-actions github-actions bot added the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Jun 20, 2024
@jiaojiaodubai
Copy link
Author

Thank you, I have received a useful solution from your response. This is a common localization requirement and I hope to officially support it in the future. If developers do not need to track this issue, it cant be closed now.

@github-actions github-actions bot removed the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants