Core functions and components for RecogitoJS and Annotorious
Go to file
Rainer Simon c22c9e2352 Refactoring 2021-02-21 08:05:10 +01:00
src Refactoring 2021-02-21 08:01:14 +01:00
test Added highlighter performance test + init method return promise 2020-04-06 13:43:32 +02:00
themes/default Refactoring 2021-02-21 08:05:10 +01:00
.babelrc Revised polyfills concerning IE11 compat 2020-08-28 17:55:31 +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 Readme 2020-12-27 11:28:21 +01:00
package-lock.json Fixes https://github.com/recogito/recogito-js/issues/16 2021-02-17 17:15:23 +01:00
package.json Refactoring: removed all text depdendencies from core 2021-02-20 18:52:45 +01:00
webpack.config.js Switched to Preact 2020-05-01 20:01:55 +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.