Wondering what’s next for npm?Check out our public roadmap! »

    @recogito/recogito-client-core

    1.0.6 • Public • Published

    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.

    Install

    npm i @recogito/recogito-client-core

    DownloadsWeekly Downloads

    396

    Version

    1.0.6

    License

    BSD-3-Clause

    Unpacked Size

    1.16 MB

    Total Files

    53

    Last publish

    Collaborators

    • avatar