Core functions and components for RecogitoJS and Annotorious
Go to file
Rainer Simon 590b430fb3 Made auto-position behavior optional 2021-09-05 07:55:52 +02:00
src Made auto-position behavior optional 2021-09-05 07:55:52 +02:00
test Build cleanup 2021-06-05 13:27:32 +02:00
themes/default Change setPosition to use only top property 2021-07-11 08:54:36 +02:00
.babelrc Build cleanup 2021-06-05 13:27:32 +02:00
.gitignore Refactoring 2020-04-04 10:45:53 +02:00
LICENSE Create LICENSE 2020-04-04 10:59:53 +02:00
README.md Fixed repo links 2021-06-12 14:04:32 +02:00
package-lock.json Bumped version 2021-08-16 14:52:05 +02:00
package.json Polyfill build fix 2021-08-16 15:17:30 +02:00

README.md

recogito-client-core

Core functions, classes and components for RecogitoJS, Annotorious and Annotorious OpenSeadragon.

To install npm install @recogito/recogito-client-core

Contributing UI Translations

If you want to contribute UI translations to Annotorious or RecogitoJS, you've come to the right place. In this folder you will find messages files, one file for each available translation.

Each messages file is a dictionary of the default English labels and their translations. For example, here's what the German translation file messages_de.json looks like.

{
  "Add a comment...": "Kommentar schreiben...",
  "Add a reply...": "Antwort schreiben...",
  "Add tag...": "Tag...",
  "Cancel": "Abbrechen",
  "Close": "Schliessen",
  "Edit": "Bearbeiten",
  "Delete": "Löschen",
  "Ok": "Ok"
}

To add a new translation

  • Fork the this repository
  • Add a message file to the src/i18n folder named messages_{iso}.json, where {iso} is the 2-character ISO code of the language.
  • Copy the dictionary above, and replace the translations accordingly.
  • Send us a pull request

Many thanks in advance! If you have questions, do get in touch via the Annotorious or RecogitoJS chat on Gitter.