Default-locale of dependent doesn't override that of its parent
One of the changes in CSL 1.0.1 was that "default-locale" in dependent styles should override the locale of the parent: http://citationstyles.org/downloads/release-notes-csl101.html#style-locale-in-dependent-styles
Zotero Standalone 4.0.20 does not abide to this. Not sure this is a citeproc-js or Zotero issue.
Test case:
https://gist.github.com/libora/36a02c17f9247395c462
https://github.com/citation-style-language/styles/pull/939#issuecomment-42269393
Zotero Standalone 4.0.20 does not abide to this. Not sure this is a citeproc-js or Zotero issue.
Test case:
https://gist.github.com/libora/36a02c17f9247395c462
https://github.com/citation-style-language/styles/pull/939#issuecomment-42269393
EDIT: The same problem is in Zotero 4.0.16
C. Homburg and C. Kühnl, “Is the more always better? A comparative study of success drivers in new product and new service development,” Journal of Business Research : JBR, vol. 67, no. 7, pp. 1360–1367, 2014.
and in Catalan (ca-AD):
C. Homburg i C. Kühnl, «Is the more always better? A comparative study of success drivers in new product and new service development», Journal of Business Research : JBR, vol. 67, núm. 7, p. 1360-1367, 2014.
and in German (de-DE):
C. Homburg und C. Kühnl, „Is the more always better? A comparative study of success drivers in new product and new service development“, Journal of Business Research : JBR, Bd. 67, Nr. 7, S. 1360–1367, 2014.
We have kind of three variables:
1. style default-locale
2. parent style default-locale (if it is a dependent style)
3. extensions.zotero.export.bibliographyLocale
4. language of zotero GUI
The first variable which is set (in this order) should determine the lanuage of the bibliography. Correct?
@javimat, once you can confirm it works as advertised (you can check https://www.zotero.org/support/4.0_changelog to see if the fix has come out), could you convert your styles into dependents again?
@Rintze: Sure. (Indeed, it will be easier for me to maintain and update only the parent).
Now that Zotero for Firefox has been updated I've tested the Journal of Baltic Studies (which has en-US default locale and points to taylor-and-francis-chicago-author-date, that has no default-locale).
(Tested in Zotero 4.0.24 in Firefox 33.0, in Ubuntu 14.04 64 bits).
Now I wait for the Standalone update to test it in my Windows Vista.
What other dependent styles could I try?
"Elsevier Vancouver" and "Annales de Dermatologie et de Vénéréologie (French)" would be a good test case. The latter is a dependent style set to "fr-FR" (French), while the Elsevier parent is set to "en-US" (US English).
Another test would be "Archivos de Medicina Interna (Spanish)" ("es-ES", Spanish) and "Vancouver" (no default-locale). This is similar to what you did, but "en-US" is the default, so that might hide some issues in your original testing.
Soon I'll update my styles into dependent ones.