Health-Sprints / A-Machine

A-Machine
GNU General Public License v3.0
1 stars 0 forks source link

References getting EN and DE name label: bug in Fidus #28

Open mrchristian opened 3 years ago

mrchristian commented 3 years ago

This is an issue we get if the document default language gets changed, which happens to us a lot as we change from English to German, and vice versa

johanneswilm commented 3 years ago

Ok, what happens exactly? You switch the language of the document from English to German, and the headline of the bibliography in the editor still says "Bibliography" rather than "Literaturverzeichnis"?

johanneswilm commented 3 years ago

Ah - I think I get it. You have a template and you have users write articles with that template. Then you change the default language of that template from English to German and all the articles that were previously set as English articles are now set to German.Hmmm... difficult. In other cases you may set the default paper size from "US letter" to A4" and then you actually do want all the documents to use A4. Let me try to think if I am able to come up with a universal model that handles all settings.

johanneswilm commented 3 years ago

How about if we add checkboxes in the template editor after each setting with a description such as "keep current setting for existing documents"? That could then apply to language, paper size, document style and various other settings that have a general default value.

mrchristian commented 3 years ago

@johanneswilm @rqpe the bug we get is that if the doc language is changed that the label for References gets duplicated inline. Let me output an example as PDF - the example is that we get "BibliographyLiteraturverzeichnis".

OK. This has now changed in that 'Bibliography' does change to 'Literaturverzeichnis'. But we now get Cited Works appended to the front, which isn't needed and will only have to be removed in post processing. So good to have a way to omit.

Test doc - Fidus Writer.pdf