Scaffold and server-side translator

24 views
Skip to first unread message

Sonali Gupta

unread,
Mar 17, 2017, 1:12:42 AM3/17/17
to zotero-dev
How is writing a translator at server side different from writing a translator in Scaffold?
I am learning to write a translator from documentation which teaches through Scaffold.
Is there a way to learn how to write translators on translation-server?
Some basic steps on how to start will be helpful(like writing a translator in a text editor and then testing)

Sebastian Karcher

unread,
Mar 17, 2017, 8:28:31 AM3/17/17
to zoter...@googlegroups.com
Hi & welcome,
There isn't a difference. All translators are developed the same way.
Server side translation runs a Zotero instance on the server, so running
Zotero (and scaffold) locally is a very close approximation of a
development environment for it (and has the rather significant advantage
of not having to set up a local instance of the translation server).
While you _can_ develop without Scaffold, there is really no reason to
and once you need to create automated tests, Scaffold really is pretty
much indispensable.
So what you'd do is to just develop standard translators, avoid doing
anything unusual, in particular cross-domain requests, and then mark
your translator as compatible server side (or, if you're not sure, wait
until the automated tests are run once and see what they do:
http://zotero-translator-tests.s3-website-us-east-1.amazonaws.com/ )
Hope that helps,
Sebastian
> --
> You received this message because you are subscribed to the Google
> Groups "zotero-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to zotero-dev+...@googlegroups.com
> <mailto:zotero-dev+...@googlegroups.com>.
> To post to this group, send email to zoter...@googlegroups.com
> <mailto:zoter...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/zotero-dev.
> For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages