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

Generation is in the wrong language #19

Open
drx999 opened this issue Mar 25, 2024 · 2 comments
Open

Generation is in the wrong language #19

drx999 opened this issue Mar 25, 2024 · 2 comments

Comments

@drx999
Copy link

drx999 commented Mar 25, 2024

citations in the text are like this:
(Interview, sd)

When i try to generate the bibliography it generates this:
image

The field that it is generated in, is in englis(us) even tho the language of the souce is set to dutch.

even after setting the field to dutch via the three dots it won't change to a correct form.

the parts that should change are:

  • (Interview, sd) --> (interview, z.d.)
  • (sd). --> (z.d.)
  • Retrieved maart 25, 2024, from --> Geraadpleegd op 25 maart 2024, van

I had a look through the code but i was unable to spot where it is going wrong.

@eztaban
Copy link
Contributor

eztaban commented Mar 25, 2024

I believe this is related to the solved issue #3.

image

As far as i can tell, the text that does not change is hard coded on line 452 and 464.

Workaround, not solution:

One way to "work around" this until or if it is resolved is to make a copy of the XML file and rename the file, add it to the relevant folders.
Modify the name of the bibliography style and give it a new version number version 7.1 (may be optional).
Bibliography style name: Line 2136
Version number: 2140

image

Remember to change to local of your language, in the case of dutch, LCID 1043 on line 2176, otherwise it may be difficult to differentiate from the other version of the bibliography.

image

I have tested in my case, in Danish and have highlighted the words that i have changed manually in the code:
image

This is how it looks in the drop down menu with my initial tests:

image

Please note, this is not a suggestion to solve the issue, but rather a workaround for you to quickly get a working bibliography in your language.
Since the text is hardcoded, it will not allow you to mix Dutch and English entries, but it should allow you to have either one or the other.

@eztaban
Copy link
Contributor

eztaban commented Mar 25, 2024

Reintroducing the lines, that was previously commented out according to #3 seemed to fix it for me and did not reintroduce the noted issue on the URLs.

image

My test:
image
And with different variations in terms of combining having a date and a url or one or the other:
image

If somebody else can confirm that it does indeed not reintroduce the URL issue, i can modify the code, reintroduce the automatic translations, and make a pull request.

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

2 participants