style localization
Hi !
I tried to localize properly my csl style file, in order to display all the terms in french (month and years, accessed, translator ... in french).
If I understand well, the localisation data have to be embedded in the .csl file. So I imported the locale fr-FR data in my file.
The csl file seems to work fine with the word processor. But I have an issue with the visual csl editor (http://editor.citationstyles.org/).
When I load my style, the editor is crashing:
Uncaught TypeError: Cannot read property 'documentation' of undefined
url: http://editor.citationstyles.org/cslEditorLib/src/VisualEditor.js?bust=e3662bdc4188a6395afa454ac66f0a6a28664bba
line: 14931
Could someone please give a look at my work, something is weird with it.
here is the link to it:
https://www.dropbox.com/s/v7mpu9h6r6csz0t/2014-12-30-FLTE-like-dev-localFR.csl?dl=0
Thanks in advance !
I tried to localize properly my csl style file, in order to display all the terms in french (month and years, accessed, translator ... in french).
If I understand well, the localisation data have to be embedded in the .csl file. So I imported the locale fr-FR data in my file.
The csl file seems to work fine with the word processor. But I have an issue with the visual csl editor (http://editor.citationstyles.org/).
When I load my style, the editor is crashing:
Uncaught TypeError: Cannot read property 'documentation' of undefined
url: http://editor.citationstyles.org/cslEditorLib/src/VisualEditor.js?bust=e3662bdc4188a6395afa454ac66f0a6a28664bba
line: 14931
Could someone please give a look at my work, something is weird with it.
here is the link to it:
https://www.dropbox.com/s/v7mpu9h6r6csz0t/2014-12-30-FLTE-like-dev-localFR.csl?dl=0
Thanks in advance !
<locale>
<terms>
<term></term>
</terms>
</locale>
(that's also why the style is invalid - you can't just copy over the locale file).
I tried this way because I had issues with the translation of the date (janvier instead of january, etc). So I tried to override the default locale.
I have to check that default locale file. Where is the default-locale fr-FR stored ?
(I'm running with the zotero standalone).
I did a batch of tests, it's now working fine, inserting default-locale="fr-FR" is enough (no need to to include the entire locale file !).
Thank you !