@yi-xu-0100/conventional-commit-types-i18n
Version:
conventional-commit-types internationalization version.
89 lines (70 loc) • 6.61 kB
Markdown
# ⚡️ conventional-commit-types-i18n
**[`conventional-commit-types`](https://www.npmjs.com/package/conventional-commit-types) internationalization version.**
Release in [NPM](https://www.npmjs.com/package/@yi-xu-0100/conventional-commit-types-i18n) and [GPR](https://github.com/yi-Xu-0100/conventional-commit-types-i18n/packages/628736).
[/badge.svg>)](https://github.com/yi-Xu-0100/hub-mirror)
[](https://github.com/yi-Xu-0100/conventional-commit-types-i18n/actions?query=workflow%3Abuild)
[](https://github.com/yi-Xu-0100/conventional-commit-types-i18n/actions?query=workflow%3Arelease)
[](https://app.codecov.io/gh/yi-Xu-0100/conventional-commit-types-i18n)
[](https://www.npmjs.com/package/@yi-xu-0100/conventional-commit-types-i18n)
[](https://github.com/yi-Xu-0100/repo-list-generator)
[](https://github.com/yi-Xu-0100/repo-list-generator/releases)
[](./LICENSE)
[](https://github.com/yi-Xu-0100/traffic2badge/tree/traffic#-conventional-commit-types-i18n)
[](https://github.com/yi-Xu-0100/traffic2badge/tree/traffic#-conventional-commit-types-i18n)
[](https://github.com/yi-Xu-0100/traffic2badge/tree/traffic#-conventional-commit-types-i18n)
[](https://github.com/yi-Xu-0100/traffic2badge/tree/traffic#-conventional-commit-types-i18n)
## 🚀 Usage
### ⚡ Installation
```bash
npm i @yi-xu-0100/conventional-commit-types-i18n
```
### 🎨 Example
```js
const { getTypes } = require('@yi-xu-0100/conventional-commit-types-i18n');
const conventionalCommitsTypes = getTypes('en');
console.log(conventionalCommitsTypes.types['feat'].title); // Features
```
## ✅ Support
Available locales are as same as [the available display languages of `Visual Studio Code`](https://code.visualstudio.com/docs/getstarted/locales).
| Language | Locale files | Contributors |
| :-----------------: | :----------: | :----------------------------------------: |
| English | [en.json] | [conventional-commit-types] |
| Simplified Chinese | [zh-cn.json] | [yi_Xu], [conventional-commit-types-zh-cn] |
| Traditional Chinese | [zh-tw.json] | [Google Translate] |
| French | [fr.json] | [Google Translate] |
| German | [de.json] | [Google Translate] |
| Italian | [it.json] | [Fabio Di Stasio] |
| Spanish | [es.json] | [Google Translate] |
| Japanese | [ja.json] | [Google Translate] |
| Korean | [ko.json] | [Google Translate] |
| Russian | [ru.json] | [Google Translate] |
| Bulgarian | [bg.json] | [Google Translate] |
| Hungarian | [hu.json] | [Google Translate] |
| Portuguese (Brazil) | [pt-br.json] | [Google Translate] |
| Turkish | [tr.json] | [Google Translate] |
[en.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/en.json
[conventional-commit-types]: https://github.com/commitizen/conventional-commit-types
[conventional-commit-types-zh-cn]: https://github.com/FieldTech/conventional-commit-types-zh-cn
[yi_xu]: https://github.com/yi-Xu-0100
[fabio di stasio]: https://github.com/Fabio286
[google translate]: https://translate.google.com/
[zh-cn.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/zh-cn.json
[zh-tw.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/zh-tw.json
[fr.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/fr.json
[de.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/de.json
[it.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/it.json
[es.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/es.json
[ja.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/ja.json
[ko.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/ko.json
[ru.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/ru.json
[bg.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/bg.json
[hu.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/hu.json
[pt-br.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/pt-br.json
[tr.json]: https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/locale/tr.json
## 📄 License
- [MIT](https://github.com/yi-Xu-0100/conventional-commit-types-i18n/blob/main/LICENSE)
## 🎉 Thanks
- [vscode-conventional-commits](https://github.com/vivaxy/vscode-conventional-commits).
- [conventional-commit-types](https://github.com/commitizen/conventional-commit-types) for the English localization.
- [conventional-commit-types-zh-cn](https://github.com/FieldTech/conventional-commit-types-zh-cn) for the Simplified Chinese localization.
- [Fabio Di Stasio](https://github.com/Fabio286) for the Italian localization.