{"_id":"jsdoc-i18n-plugin","_rev":"7-ae9118c99bf262d860a89aacf98f2525","name":"jsdoc-i18n-plugin","description":"A plugin for jsdoc to handle i18n translations","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"jsdoc-i18n-plugin","version":"0.0.1","description":"A plugin for jsdoc to handle i18n translations","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["jsdoc","plugin","i18n"],"author":{"name":"villa.gao","email":"jky239@gmail.com"},"license":"MIT","dependencies":{},"_id":"jsdoc-i18n-plugin@0.0.1","dist":{"shasum":"3ad9012d7ae77ee12cdb9fc10f36bddc977e1bbc","tarball":"https://registry.npmjs.org/jsdoc-i18n-plugin/-/jsdoc-i18n-plugin-0.0.1.tgz","integrity":"sha512-f37UJEPIRGX2j23SGCeF5MASVcXCRo6q0WrH656VJm07/1Vn9dtV6j/5CrEDepOcEtWm9xrDo6hBBJI8Ix29fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyztbJTmIz5gurBS9xQ1+ef9ubZtOHKnnu09fRlNyo7wIhAMP9WVJr5Em2rMldOkj//5AHJWBV/HsStF50m3tqOJ32"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"villadora","email":"jky239@gmail.com"},"maintainers":[{"name":"villadora","email":"jky239@gmail.com"}]},"0.0.2":{"name":"jsdoc-i18n-plugin","version":"0.0.2","description":"A plugin for jsdoc to handle i18n translations","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["jsdoc","plugin","i18n"],"author":{"name":"villa.gao","email":"jky239@gmail.com"},"license":"MIT","dependencies":{},"_id":"jsdoc-i18n-plugin@0.0.2","dist":{"shasum":"e8130c6ea64599cd81716aa85809111643baaf3f","tarball":"https://registry.npmjs.org/jsdoc-i18n-plugin/-/jsdoc-i18n-plugin-0.0.2.tgz","integrity":"sha512-0KCsAKAINKXPkZgWVRRNmzMVPpws9JD40ykpr0wkPHYSuXoP4iVSZ5D/tQEUHAIiBo9KfioICjjX831AHX1fEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkTI6xLxg6OUo+NERoOrfyAJPMdfubvpyv5N1K+hb/zAiA9qKQ821BmhuwUTDoSslldITn/Ua3ZSpzgygxGIzbTxw=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"villadora","email":"jky239@gmail.com"},"maintainers":[{"name":"villadora","email":"jky239@gmail.com"}]},"0.0.3":{"name":"jsdoc-i18n-plugin","version":"0.0.3","description":"A plugin for jsdoc to handle i18n translations","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["jsdoc","plugin","i18n"],"author":{"name":"villa.gao","email":"jky239@gmail.com"},"license":"MIT","dependencies":{"mkdirp":"^0.5.1"},"gitHead":"185d07b94c69d291593e021bfb06e88644480d57","_id":"jsdoc-i18n-plugin@0.0.3","_shasum":"08ca2275793ad80ecf9a11ea9fdd61e015ae7da8","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"villadora","email":"jky239@gmail.com"},"maintainers":[{"name":"villadora","email":"jky239@gmail.com"}],"dist":{"shasum":"08ca2275793ad80ecf9a11ea9fdd61e015ae7da8","tarball":"https://registry.npmjs.org/jsdoc-i18n-plugin/-/jsdoc-i18n-plugin-0.0.3.tgz","integrity":"sha512-JftMOa8qMbITtzdZFWkgjk8WABJ0rjZjwO7FsTCQBWtYJl6OrdWKJf7hkbLUPmrh7j2EnJMg6j1xnSYWOulsbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBySWkRo897590Bw1+nj33iYSQ2yLWqW5r6cMnY8FVs6AiA2ThY7t+dF3KMS0SNp8XTj2LPH6PS9IcwFpZAN0Co8FQ=="}]}}},"readme":"# JsDoc i18n Plugin\n\nJsDoc i18n plugin is to provide i18n translates for jsdocs.\n\n\n## Installation\n\nInstall with npm:\n\n    npm install jsdoc-i18n-plugin --save\n    \n    \n## Usage\n\nAdd following config into your jsdoc.config.json:\n\n```javascript\n{\n    ...\n    \"plugins\": [\n       \"path/to/i18n/plugins/folder/in/node_modules/\"\n    ],\n    \"i18n\": {\n       \"locale\": \"<en_US|zh_CN|...>\", \n       \"directory\": \"/path/to/put/your/translation/files/default/is/locales/in/working/directory\",\n       \"srcDir\": \"/base/src/directory/to/build/tree/structure/for/source/files/default/is/current/directory\",\n       \"extension\": \".js\" // or using .json instead.\n    }\n    ...\n}\n```\n\nThen you can run jsdoc command, this plugin will automatically generate json files for specific locale. You can do translation work based on that file. The file will look like following: \n\n\n```javascript\n{\n    \"Hello\": \"Hello\",\n    \"weekend\": \"weekend\",\n    \"tree\": \"tree\"\n}\n```\n","maintainers":[{"name":"villadora","email":"jky239@gmail.com"}],"time":{"modified":"2022-06-19T05:57:07.273Z","created":"2014-02-01T13:01:50.073Z","0.0.1":"2014-02-01T13:01:50.073Z","0.0.2":"2014-02-08T07:05:45.969Z","0.0.3":"2015-12-27T13:05:41.209Z"},"readmeFilename":"README.md","keywords":["jsdoc","plugin","i18n"],"author":{"name":"villa.gao","email":"jky239@gmail.com"},"license":"MIT","users":{"rbecheras":true}}