From c11be8ae1862ccb321bf6c79929b47df79b3fbe0 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sat, 18 Aug 2018 19:30:07 +0900 Subject: [PATCH] refs #506 Add description how to add language in README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 55aedd73..a96136d4 100644 --- a/README.md +++ b/README.md @@ -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`.