Jump to content

Talk:Citoid/Creating Zotero translators

About this board

How to request an update?

2
Summary by Mvolz (WMF)
Paul 012 (talkcontribs)

An update to Bangkok Post.js was merged to the Zotero repository in June. I can't quite figure out what else needs to be updated for it to work in Citoid, and where to request this. @Mvolz (WMF), you seem to be the person to ask? --~~~~

Mvolz (WMF) (talkcontribs)

This should be working now.

Newspaper links that do not generate {{Cite news}}

6
Vanderwaalforces (talkcontribs)

Hello @Mvolz (WMF), I trust you're doing great. So, there are some links to some newspaper websites that I know of that do not generate the {{Cite news}} template on Visual Editor on Wikipedia when using the automatic citation powered by Citoid, they instead generate the {{Cite web}}. After finding out, it appears some sort of Zotero translators needs to be created for each of these websites and deployed on GitHub, and stuff like that. Please, can you assist me and giving me context on how to go about it? Can you help me create for one so that I can do the remaining by myself if possible, please?

Some of the links include;

1. https://www.channelstv.com/2024/07/21/mike-ejeaghas-classic-ka-esi-le-onye-isi-oche/

2. https://www.vanguardngr.com/2024/07/after-41-years-mike-ejeagahas-classic-gwo-gwo-gwo-ngwo-sparks-viral-dance-challenge/

3. https://www.prime9ja.com.ng/2024/07/highlife-revival-vintage-track-ka-esi.html

4. https://nannews.ng/2024/07/21/igbo-highlife-song-gwo-gwo-gwo-ngwo-enjoys-viral-resurgence/

5. https://lifestyle.thecable.ng/brain-jotter-to-gift-mike-ejeagha-n2m/

I have read some of the documentations, but I must say that I really need practical examples from you before I can clearly grasp the technicality of creating the translators to doing anything else. I will greatly appreciate your response. Thank you.

Mvolz (WMF) (talkcontribs)
Vanderwaalforces (talkcontribs)

@Mvolz (WMF) Okay, thanks. I will give it a try, but please in a situation where I have questions, I'd reach out to you here. Thanks again.

Vanderwaalforces (talkcontribs)

Hello there today. I trust you're doing great. So I have managed to create the translation JS file for some of the publications, would love to see them in action. How do I deploy it to the Zotero Github? or what is the next step after I create the translators, please?

Vanderwaalforces (talkcontribs)

Courtesy ping @Mvolz (WMF), please pardon me if it is disturbing.

Mvolz (WMF) (talkcontribs)
Reply to "Newspaper links that do not generate {{Cite news}}"

Czech national libraries and other nations with central repository would be a great addition

3
Polda18 (talkcontribs)

Hello. From what I know, Zotero supports central repositories from US Library of Congress, French national library and German national library. There are however other nations in Europe that would benefit from their central repositories being included in this system, including Czech Republic. Czech National Library, Czech National Technical Library and other national libraries would be great, and for Czech Wikipedia actually very much useful and welcome. Let's not end up here. Connecting up entirety of Europe wouldn't be bad, I would also throw in British national libraries, as British Islands are also part of Europe, so that would make sense. Are there plans to connect up the rest of Europe and possibly the rest of the world?

Mvolz (WMF) (talkcontribs)
Polda18 (talkcontribs)

Thank you.

Reply to "Czech national libraries and other nations with central repository would be a great addition"

Adding a translator in 2021?

3
Symac (talkcontribs)

Hello,

I am trying to understand how things currently work. I have created a translator for https://www.sudouest.fr that has been merged into zotero/translators master last week.

It is not currently used on French wikipedia and I have not been able to track why. I believe there might be some time needed before this newly created translator is fetched by Wikimedia server, but I could find the information.

Mvolz (WMF) (talkcontribs)

Hello! There are few more steps for it to be used. The first is that the translators submodule has to be updated in translation-server - the last time that was done was June 25 here: https://github.com/zotero/translation-server/commit/d9e3897a6b60dc4ea7eb9e53cf5bc98b76111688

And then our version of translation-server also has to update too: the last time this was done was in March: https://gerrit.wikimedia.org/r/c/mediawiki/services/zotero/+/670809

It's a manual process, so I will try to get it updated again in translation-server (since the latest update predates your change) and then ours. Cheers!

Mvolz (WMF) (talkcontribs)

Your new translator should be working now - sorry it took so long!

Reply to "Adding a translator in 2021?"

Unclear instructions in "Submitting a pull request once your translator has been merged upstream on github"

3
Sebastian Berlin (WMSE) (talkcontribs)

I wasn't sure how to do step 2 ("Create a local branch of the github repository as well called github-master"). After looking it up I followed the instructions from https://stackoverflow.com/a/14383288, i.e. something like this:

  • git remote add fork https://github.com/zotero/translators.git
  • git fetch fork
  • git checkout -b zotero fork/master

I don't know if that's they way you're supposed to do it, but it may be worth adding some clarification either way.

Sebastian Berlin (WMSE) (talkcontribs)

Judging by this comment I guess this is no longer relevant. Should that whole section be removed?

Mvolz (WMF) (talkcontribs)

Sorry I didn't respond to this earlier :/. Yes, all totally outdated.

Reply to "Unclear instructions in "Submitting a pull request once your translator has been merged upstream on github""
There are no older topics