Core functions and components for RecogitoJS and Annotorious
Go to file
ahammouda 9369b56174 Added ability to change placeholder text, and make comment replies optional 2022-10-01 17:47:04 -04:00
src Added ability to change placeholder text, and make comment replies optional 2022-10-01 17:47:04 -04:00
test Build cleanup 2021-06-05 13:27:32 +02:00
themes/default Small (but essential...) CSS fix 2022-01-27 09:51:12 +01: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 Readme 2021-10-24 09:41:19 +02:00
package-lock.json Bumped version 2022-09-03 21:52:09 +02:00
package.json Bumped version 2022-09-03 21:52:09 +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 translation.

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

{
  "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 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 a pull request

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