Skip to main content

Convert xlsx file to a json object. Build for i18n angular apps

Project description

xlsxToJsonTranslate

Simple tool to convert xlsx file to a json object. Build for i18n angular apps

Usage

xlsxToJsonTranslate -i <inputfile> -o <outputfile> -l <lang> -k <keycolumn>

Format of xlsx file

Information Key fr en
Violation - Ajout rgpd.violation.journey.add.title Ajout d'une violation de données personnelles Adding a violation of personal data
Violation - Ajout rgpd.violation.journey.add.step-date.still-alive La violation est-elle toujours en cours ? The violation is it ongoing?
Violation - Ajout rgpd.violation.journey.add.step-date.determined-period La violation s'est étendue sur une période déterminée The violation was extended over a fixed period
Violation - Ajout rgpd.violation.journey.add.step-date.date-start-violation Date approximative de la violation Approximate date of the violation
Violation - Ajout rgpd.violation.journey.add.step-date.date-know-violation Date et heure de prise de connaissance de la violation Date and time of becoming aware of the breach
Violation - Ajout rgpd.violation.journey.add.step-date.comments-dates Commentaires sur les dates Comments on dates
Violation - Ajout rgpd.violation.journey.add.step-date.discovery-circumstances Dans quelles circonstances avez-vous découvert la violation ? Under what circumstances did you discover the violation?

Output format

fr.json

{
  "rgpd": {
    "violation": {
      "journey": {
        "add": {
          "title": "Ajout d'une violation de données personnelles",
          "step-date": {
            "still-alive": "La violation est-elle toujours en cours ?",
            "determined-period": "La violation s'est étendue sur une période déterminée",
            "date-start-violation": "Date approximative de la violation",
            "date-know-violation": "Date et heure de prise de connaissance de la violation",
            "comments-dates": "Commentaires sur les dates",
            "discovery-circumstances": "Dans quelles circonstances avez-vous découvert la violation ?"
          }
        }
      }
    }
  }
}

en.json

{
  "rgpd": {
    "violation": {
      "journey": {
        "add": {
          "title": "Adding a violation of personal data",
          "step-date": {
            "still-alive": "The violation is it ongoing?",
            "determined-period": "The violation was extended over a fixed period",
            "date-start-violation": "Approximate date of the violation",
            "date-know-violation": "Date and time of becoming aware of the breach",
            "comments-dates": "Comments on dates",
            "discovery-circumstances": "Under what circumstances did you discover the violation?"
          }
        }
      }
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xlsxToJsonTranslate-0.1.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xlsxToJsonTranslate-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file xlsxToJsonTranslate-0.1.3.tar.gz.

File metadata

  • Download URL: xlsxToJsonTranslate-0.1.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for xlsxToJsonTranslate-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a13b8683e525dcb3f19e79b3dbbfdf9124dc16832b9b83bd1e0d819dd9338ded
MD5 e2838347c6f7c3da23e6e18a29bb54ee
BLAKE2b-256 b92f959b810bb9e2bacea5a9a97454d2956ca822c6e2628f832aa0ed823cdfd2

See more details on using hashes here.

File details

Details for the file xlsxToJsonTranslate-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: xlsxToJsonTranslate-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for xlsxToJsonTranslate-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b43e72fb479654f9c2e0beeaa5ae602160f3a7c9637d54beeaf6e3a0c562c69f
MD5 fa6d80456cd18fff4e0fa8b0ab4afdde
BLAKE2b-256 a31dc67baf4c98da4c15ba0a63f54873058ae9a78b164de274b87244df77b9e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page