Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Server-side Zotero translation based on Mozilla xpcshell
JavaScript Shell
branch: master

Merge pull request #9 from catrope/dash-mn

Use xpcshell -mn , not -m -n
latest commit 8d6eae22f3
@simonster simonster authored

An xpcshell-based approach to Zotero server side translation.

Currently supports import, export, and web translation.


  1. Install the XULRunner SDK:

  2. Create a symlink to XULRunner inside this project directory:

    $ ln -s /path/to/where/you/put/xulrunner xulrunner-sdk
  3. Fetch the Zotero extension source as a submodule:

    $ git submodule init
    $ git submodule update
  4. Clone the Zotero translators repository, too:

    $ git clone


  1. Edit config.js and update the "translation-server.translatorsDirectory" preference to reflect the translators directory from step 4.

Build and Run

  1. Run the script. If all goes well, there should be no output.

    $ ./
  2. Run the server:

    $ build/ 
    zotero(3)(+0000000): HTTP server listening on *:1969
  3. Try a query!

    $ curl -d '{"url":"","sessionid":"abc123"}' \
          --header "Content-Type: application/json" \


Supported endpoints are: /web, /import, /export, and /refresh.

Read server_translation.js for more information.

Something went wrong with that request. Please try again.