{"_id":"@ctiterm/ctiterm-locales","_rev":"1-8d5c8c212eb31df5b744c9a40cde0642","name":"@ctiterm/ctiterm-locales","dist-tags":{"latest":"0.16.6"},"versions":{"0.16.5":{"name":"@ctiterm/ctiterm-locales","version":"0.16.5","description":"ctiterm multi-language support pack","main":"index.js","scripts":{"lint":"standard","fix":"standard --fix","test":"node --experimental-vm-modules ./node_modules/.bin/jest","pre-push":"npm run lint && npm run test","build":"node bin/build.js","pub":"npm run build && node bin/publish.js"},"type":"module","repository":{"type":"git","url":"git+https://gitee.com/royin/ctiterm-locales.git"},"keywords":["ctiterm","locale","language"],"author":{"name":"ZHAO Xudong","email":"zxdong@gmail.com"},"license":"MIT","bugs":{"url":"https://gitee.com/royin/ctiterm-locales/issues"},"homepage":"https://gitee.com/royin/ctiterm-locales#readme","devDependencies":{"country-flag-emoji":"^1.0.3","dotenv":"^16.0.3","google-translate-open-api":"^1.3.7","jest":"^28.1.3","json5":"^2.2.1","lodash":"^4.17.21","mkdirp":"^1.0.4","puppeteer":"15.5.0","recursive-assign":"^0.2.0","shelljs":"^0.8.5","socks-proxy-agent":"^7.0.0","standard":"^17.0.0"},"jest":{"roots":["tests"]},"gitHead":"3bfaea527d14c740390d60730007fdf14a4eb106","_id":"@ctiterm/ctiterm-locales@0.16.5","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-BYqMIA7KF5jmJIUIPluLk1CnqCMENZN8M4A5ch8y8Z741PhMNCyv2lNKJC5jMSn24/ng7P+ERxkpcNQLCUZG0w==","shasum":"462b7e29a4cdf05fd996eb4d1eca3963b3b575b5","tarball":"https://registry.npmjs.org/@ctiterm/ctiterm-locales/-/ctiterm-locales-0.16.5.tgz","fileCount":3,"unpackedSize":5845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQHjax3NDpE/CHW7NB/f4np1dDJ7kkIrPqeg+6ubixfwIgMfGHapwAej85QGwm9Egl7G+DYRsSIHCkOtcyrkOt7tg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCYygACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiyhAAixfrlrv14nyZu4rleCgzxFT9yk4lbGz+WiBdY00MLC6j3Y8E\r\ncLngg3mrvUEfsDcgrsAPGI7JgwzAHYXhfxHZbsjtzTzwNCZ2ZLH394HjaRDU\r\n++kgsYHwD8ROGkRcM6Rb/GL0dFIca7TDPruTRW7GljNulWhS1+ZnN7hoNaCv\r\niYGJYlxYo7A+rR7vU5U+KZEbG0ameV2hrt2RdYywEiV7dQFWTbWkjxysxENC\r\nGYK3DXCTRO2E4aAZDT28aALI8qj8VTon5jVOerZ3XtVwgS52M5cpWoZw69jU\r\nn4N1l5mgBydUkB5QVzluIhXAigXGseGuKDg4Bh1GFqtymQvAQ5e7USLeRCxi\r\nBbgps1YgeO+k+fiLhX3MnoBe4pRnNVMRg+dYB4Fpit/ijKC1lFD8RMWIDX2p\r\n2HCUdELPACGO9cIXBtcIUQv8wP/rcMjfvTMq3fRVTTMy3cRJ+fSa4nK7Vuzt\r\njaoKoJWMrXALMPMNL27yGJW08jowvMz5i7JKdebVnmsLAnAh7gODS6rYYcTT\r\nj6p0RcSvyuz48iksWWL/NSRaApu0gOQdEi+evPzjxZjITDmLCeTNl7hCQgCf\r\no8oGFCrnyvWyi01fAkWGcV5cIewfIgTVSMr5bJj1Xa+LebifNESlT6vsSHWV\r\n8rBpuwvos2665LYZaJ8/7I5WgtKo2ZSX9ZQ=\r\n=oGyB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"royinrolland","email":"royinrolland@163.com"},"directories":{},"maintainers":[{"name":"royinrolland","email":"royinrolland@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ctiterm-locales_0.16.5_1678347424162_0.16859281724753017"},"_hasShrinkwrap":false},"0.16.6":{"name":"@ctiterm/ctiterm-locales","version":"0.16.6","description":"ctiterm multi-language support pack","main":"index.js","scripts":{"lint":"standard","fix":"standard --fix","test":"node --experimental-vm-modules ./node_modules/.bin/jest","pre-push":"npm run lint && npm run test","build":"node bin/build.js","pub":"npm run build && node bin/publish.js"},"type":"commonjs","repository":{"type":"git","url":"git+https://gitee.com/royin/ctiterm-locales.git"},"keywords":["ctiterm","locale","language"],"author":{"name":"royin"},"license":"MIT","bugs":{"url":"https://gitee.com/royin/ctiterm-locales/issues"},"homepage":"https://gitee.com/royin/ctiterm-locales#readme","devDependencies":{"country-flag-emoji":"^1.0.3","dotenv":"^16.0.3","google-translate-open-api":"^1.3.7","jest":"^28.1.3","json5":"^2.2.1","lodash":"^4.17.21","mkdirp":"^1.0.4","puppeteer":"15.5.0","recursive-assign":"^0.2.0","shelljs":"^0.8.5","socks-proxy-agent":"^7.0.0","standard":"^17.0.0"},"jest":{"roots":["tests"]},"gitHead":"a52c307b89d221c01b6e3675e6aa406d791be689","_id":"@ctiterm/ctiterm-locales@0.16.6","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-DmoVgiDW+fIkq4KcH97olwMumP8CHEhJfBT65WbozbBlXI4JOBXy0qzdYuCUqm61LRJrcX6SdFTGF68QTyUsgg==","shasum":"2d94c0e7b207efd1228571f30014818ed22cd90e","tarball":"https://registry.npmjs.org/@ctiterm/ctiterm-locales/-/ctiterm-locales-0.16.6.tgz","fileCount":5,"unpackedSize":21198,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUgLv4lQ3AbKZMzNFhs8Fqqr7oG3Fu+uBTYzLaIwJ3RQIgHii7CFCkwbeC4WV9Knr90bQNjw6pxxS4r6cqGxiWQ60="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCaFFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUhQ/+LOlBC0Iyr0kEoD6gwZo1rxHTkhAK+PU/a0cyOGTsLJei3TuY\r\nSoW38CjxK+TxvvxibMO+/5vN2SYgvTImMIGEARswApBOINJpPWvwzAGx2xoa\r\nuBn67eXnhoXO4uodauslnvYjKrZHsOALfNlLcNSyB3oFXaSu4inrcDikuk7I\r\nTpfRKEbS+BYaCzvOYg5VKZmOjRJlA9W962r0BP4o+fxzICBRnSpFJ8V8Rbmv\r\nlkEQ8zGmcA+5X75RXuR1Tynxz3vifqRm2mMF28FStYS5UT5L8zgg78cMtBzM\r\nsPcFH7euldhpjbptmCaXsQVNTd3mcn+1FNw/+8OMME31/PLCy894tnpNZl4J\r\nF/nCvRXXd9mAi0GRKVQiD/pAR+GBGXzh0gRB6C5ZoIKdw5QSzUN5CsIceVw1\r\nPK2vmuUHOLZftqEyS5HHGC5XBiAxkWI/C+eh1oiiRgombyzvuB4u6qMkiE8c\r\nLS6HN57p2/ENf7pTQZy6YRoPJaVaFyHJgXGXOnF3Sg8c5K338rMgG+Ip28Rk\r\naBWb5Lbmiv7VHaMQUBklsa+C2G1lJU1sI3cB8C0H81N0uQDreaiCck3sTXfy\r\nLDJpHAggXyZtpS9FGzXZoMQ5RP6a+XF0L7dJbCbo+zrqmBzmnRGjvKYIVNwF\r\n6d/bVHyEi1UGcN+YpBl6FGJCCiQMOFF6CAs=\r\n=O2Ve\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"royinrolland","email":"royinrolland@163.com"},"directories":{},"maintainers":[{"name":"royinrolland","email":"royinrolland@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ctiterm-locales_0.16.6_1678352708941_0.6201418072588409"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-09T07:37:04.009Z","0.16.5":"2023-03-09T07:37:04.380Z","modified":"2023-03-09T09:05:09.223Z","0.16.6":"2023-03-09T09:05:09.102Z"},"maintainers":[{"name":"royinrolland","email":"royinrolland@163.com"}],"description":"ctiterm multi-language support pack","homepage":"https://gitee.com/royin/ctiterm-locales#readme","keywords":["ctiterm","locale","language"],"repository":{"type":"git","url":"git+https://gitee.com/royin/ctiterm-locales.git"},"author":{"name":"royin"},"bugs":{"url":"https://gitee.com/royin/ctiterm-locales/issues"},"license":"MIT","readme":"# ctiterm-locales\n\n[![Build Status](https://travis-ci.org/ctiterm/ctiterm-locales.svg?branch=release)](https://travis-ci.org/ctiterm/ctiterm-locales)\n\n[ctiterm](https://ctiterm.html5beta.com) multi-language support pack.\n\n🇺🇸 🇨🇳 🇧🇷 🇷🇺 🇪🇸 🇫🇷 🇹🇷 🇭🇰 🇯🇵 🇸🇦 🇩🇪 🇰🇷\n\n## Dev\n\n```bash\ngit clone git://github.com/ctiterm/ctiterm-locales.git\ncd ctiterm-locales\nnpm i\ncp config.sample.js config.js\nnpm start\n# automatic sync locales/* to ../ctiterm/node_modules/ctiterm-locales/locales/ for test\n# and add pre-push hook, do lint and test before every push\n```\n\n## Test\n\n```bash\nnpm run test\n# test only make sure all locale file keys and orders are match.\n```\n\n## Contribute\n\nJust use `locales/en_us.js` as a example, fork this repo, add your edit, then submit a pull request.\n\nMake sure you run `npm run test` before push.\n\n## Script to create a new language file\n\nTo make the work easier, I have created a script to help creating a language file, it uses google translate API to translate all entry and create a new language file.\n\n```bash\n# use\n# lang={language code} node bin/create-new-lang.js\n# then it will create a {language code}_{language code}.js in locales folder\n\n# for example:\n# this will create a German language file `locales/de_de.js`\nlang=de node bin/create-new-lang.js\n# then you can review and edit to make sure every entry is right\n```\n\n## Add a new entry using google translate api\n\nYou can certainly translate it one by one, I also provide a script to do it.\n\n```bash\n# entry=\"{level one entry name}\" name=\"{the prop name}\" text=\"{the text in original language}\" original=\"{language code, default is en}\" node bin/add-new-entry.js\n# check https://github.com/hua1995116/google-translate-open-api/blob/master/src/language.ts for language code\n\n# example:\nentry=setting name=saveTerminalLogToFile text=\"save terminal log to file\" original=en node bin/add-new-entry.js\n\n# then it will add saveTerminalLogToFile entry to all language file in setting namespace with google translate\n```\n\n## Use proxy\n\n```bash\ncp sample.env .env\n# then edit .env, add socks proxy\n```\n\n## Supported languages & creators\n\n- 🇺🇸 [English](locales/en_us.js): [@zxdong262](https://github.com/zxdong262)\n- 🇨🇳 [简体中文](locales/zh_cn.js): [@zxdong262](https://github.com/zxdong262)\n- 🇧🇷 [Português do Brasil](locales/pt_br.js): [@Meirinaldo Júnior](https://github.com/meirinaldojunior)\n- 🇷🇺 [русский](locales/ru_ru.js): [@Vasiliy](https://github.com/TheLetslook)\n- 🇪🇸 [Español](locales/es_es.js): Federico Pereira <fpereira@cnsoluciones.com>\n- 🇫🇷 [Français](locales/fr_fr.js): [@Damien Mosse](https://github.com/damosse31)\n- 🇹🇷 [Türkçe](locales/tr_tr.js): [@Nazım Gediz Aydındoğmuş](https://github.com/gediz)\n- 🇭🇰 [繁体中文](locales/zh_tw.js): [@ycku](https://github.com/ycku)\n- 🇯🇵 [日本語](locales/ja_jp.js): [@hououinkami](https://github.com/hououinkami)\n- 🇸🇦 [العربية](locales/ar_ar.js): [@haithamalnaeb](https://github.com/haithamalnaeb)\n- 🇩🇪 [german](locales/de_de.js): [@Hope-IT-Works](https://github.com/Hope-IT-Works)\n- 🇰🇷 [한국어](locales/ko_kr.js): [@jooy2](https://github.com/jooy2)\n\n## Contributors\n\n[https://gitee.com/royin/ctiterm-locales/graphs/contributors](https://gitee.com/royin/ctiterm-locales/graphs/contributors)\n","readmeFilename":"README.md"}