Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pascholda1/vue-cli-plugin-i18n-csv-exchange

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pascholda1/vue-cli-plugin-i18n-csv-exchange

Vue CLI plugin to convert i18n localizations from JSON to CSV / CSV to JSON

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Vue CLI Plugin i18n CSV exchange

This plugin can export nested localization JSON files to CSV and import CSV localization files back to JSON.

Installation

npm i --save-dev @pascholda1/vue-cli-plugin-i18n-csv-exchange 
vue invoke vue-cli-plugin-i18n-csv-exchange

Usage

To create / update CSV files based on your JSON files:

npm run i18n-export-csv

To create / update JSON files based on your CSV files:

npm run i18n-import-csv

Examples

i18n-export-csv

reads nested JSON Files like:

{
	"questions": {
		"answer": {
			"yes": "Yes",
			"no": "No"
		}
	}
}

will create a CSV like:

questions.answer.yes,Yes
questions.answer.no ,No

i18n-import-csv

reads a CSV File like that:

questions.answer.yes,Yes
questions.answer.no ,No

and adds the second column's values to the first column's object path.

Keywords

FAQs

Package last updated on 22 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc