XLSX to JSON Translate
This plugin allows you to upload an XLSX file containing translations and outputs them as JSON data.
strapi-xlsx-to-json-translate
This plugin allows you to upload an XLSX file containing translations and outputs them as JSON data.
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
1{
2 "rgpd": {
3 "violation": {
4 "journey": {
5 "add": {
6 "title": "Ajout d'une violation de données personnelles",
7 "step-date": {
8 "still-alive": "La violation est-elle toujours en cours ?",
9 "determined-period": "La violation s'est étendue sur une période déterminée",
10 "date-start-violation": "Date approximative de la violation",
11 "date-know-violation": "Date et heure de prise de connaissance de la violation",
12 "comments-dates": "Commentaires sur les dates",
13 "discovery-circumstances": "Dans quelles circonstances avez-vous découvert la violation ?"
14 }
15 }
16 }
17 }
18 }
19}
en.json
1{
2 "rgpd": {
3 "violation": {
4 "journey": {
5 "add": {
6 "title": "Adding a violation of personal data",
7 "step-date": {
8 "still-alive": "The violation is it ongoing?",
9 "determined-period": "The violation was extended over a fixed period",
10 "date-start-violation": "Approximate date of the violation",
11 "date-know-violation": "Date and time of becoming aware of the breach",
12 "comments-dates": "Comments on dates",
13 "discovery-circumstances": "Under what circumstances did you discover the violation?"
14 }
15 }
16 }
17 }
18 }
19}
Install now
npm install strapi-xlsx-to-json-translate
Create your own plugin
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.