1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-23 07:26:36 +01:00

refs #506 Add description how to add language in README

This commit is contained in:
AkiraFukushima 2018-08-18 19:30:07 +09:00
parent cedc4057da
commit c11be8ae18

View File

@ -84,6 +84,14 @@ $ npm install
$ npm run dev
```
### How to add new language
1. First, please prepare [translation](https://github.com/h3poteto/whalebird-desktop/blob/master/src/config/locales/fr/translation.json), and [translation missing](https://github.com/h3poteto/whalebird-desktop/blob/master/src/config/locales/fr/translation.missing.json) file for your language.
2. Next, add your language to constants like [French](https://github.com/h3poteto/whalebird-desktop/blob/master/src/constants/language.js#L10-L13).
3. Finally, add your language at [here](https://github.com/h3poteto/whalebird-desktop/blob/master/src/renderer/components/Preferences/Language.vue#L37).
If there is something unknown, please refer this pull request: https://github.com/h3poteto/whalebird-desktop/pull/502
## Release
### Binary
When you build release packages, please use `electron-builder`.