View Single Post
Old 12-27-2023, 01:05 PM   #1
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
recipe The Conversation : Why some parts of the article are in a different language

Hello
I'm using the buitin recipe for the Conversation. This recipe is based on the Australian edition of The Conversation.
https://theconversation.com/au/articles.atom


I'm French and I'm using a French Windows PC, and my browser is in French.

The Conversation exists also in French : https://theconversation.com/fr

The strange thing is that the articles in the downloaded edition of The Conversation contain some French parts. For example "Read also" is replaced by "A lire aussi". The text of the article is of course in English, but some information is in French.

It occurs also for the menu of the pages (which appears when change the auto_cleanup value to False).

NB : In my brower (Chrome), the original article doesn't contains any French word.

It seems the recipe replaces some tag contents by the French translation, because there is

How can I get rid of that and have only English in all the articles ?
Of course I can remove some irrelevant tags but I want for example to keep the Disclosure statement which is given in French and not in English as it should be.


Original Disclosure statement
<section class="content-disclosure-statement">
<h3 class="border">Disclosure statement</h3>
<p><span>Mark A. XXXX
[ name hidden by me] does not work for, consult, own shares in or receive funding from any company or organisation that would benefit from this article, and has disclosed no relevant affiliations beyond their academic appointment.</span></p>
</section>


Disclosure statement in the output
<div class="calibre10">
<h3 class="border">Déclaration d’intérêts</h3>
<p class="role"><span class="calibre13">Mark A. XXXX ne travaille pas, ne conseille pas, ne possède pas de parts, ne reçoit pas de fonds d'une organisation qui pourrait tirer profit de cet article, et n'a déclaré aucune autre affiliation que son organisme de recherche.</span></p>
</div>

Thanks
Villard

Last edited by Villard; 12-27-2023 at 01:30 PM.
Villard is offline   Reply With Quote