Open oatmealm opened 2 years ago
I don't actually know!
But there should be a way to define the document locale, and/or default locale, in org-cite, which I assume citeproc-el will then read and adjust accordingly.
But you say this:
... some keywords are not translated.
... which sounds to me like that's all working correctly, but for some reason the localization is only happening partially? Do you mean to say, for example, that some ARE translated?
If yes, you might want to check with citeproc-el?
But what do you mean by "keywords"?
Localization only happens for the pre-defined terms in CSL; it won't translate actual user data.
Hi @bdarcus ! Thanks for refereing me to citeproc... I double checked and had to manually set the following before things started working...
In the document:
#+LANGUAGE: he-IL
#+CITE_EXPORT: csl chicago-fullnote-bibliography.csl
In bib files (via betterbixlatex) language field set to "he-IL" as well, though not sure if "he", "heb" or "hebrew" would work to.
in my config:
(use-package! citeproc
:config
(setq! org-cite-csl--etc-dir "~/.csl")
(setq! org-cite-csl-locales-dir "~/.csl")
(setq! org-cite-csl-styles-dir "~/.csl"))
Left citar's as is, though I'm not sure what it's used for now?
(setq! citar-citeproc-csl-styles-dir "~/.csl")
(setq! citar-citeproc-csl-locales-dir "~/.csl")
Since you're using doom; you might try this:
(after! oc ; set these after loading org-cite
(setq org-cite-csl-locales-dir "~/.csl"
org-cite-csl-styles-dir "~/.csl"))
(after! citar
(setq ...) ; put citar stuff here
You don't need the use-package!
for citeproc.
Why did you include this? It's a private variable, so not meant to be customized.
(setq! org-cite-csl--etc-dir "~/.csl")
Is this resolved @oatmealm?
Could you please expand on how to enable locales and what should expect to see? Currently I have the two variables pointing to csl and locales folders (zotero), but when exporting directly to odt, I still see that some keywords are not translated.