If you're interested in contributing feel free to contact me or create a pull request.
These instructions are a bit rough. Feel free to message me with questions.
- Fork the project
- Create a new branch off your fork from latest beta branch
- Commit your changes to the new branch
- When you're ready to submit your pull request, Sync to beta branch and rebase your branch onto the newest commit in the latest beta branch
- Submit your pull request
To run in development mode install yarn.
yarn
yarn run dev
if your platform is not supported you should be able to create an installer by running in development mode or by building it by calling:
yarn run build
The installer will be created in /dist
.
Official builds are currently built locally on windows and on travis for the Mac and Linux binaries.
Note: Render Process is using babel, but the backend process is not, so allowed syntax between the two is different right now.
translations are located in scr/locales/<locale code>.json
In src/messages.js
,
- add translation package from
react-intl
import szLocaleData from 'react-intl/locale-data/zz';
- add package to addLocaleData
addLocaleData([...jaLocaleData, ...zzLocaleData]);
- import messages and add to export
import sz from './locales/zz'; export default { ja, zz, };
In translationRunner.js
manageTranslations({
...
languages: ['ja', 'zz'],
});
If there are new strings in the program or new langauges added, run these commands.
yarn run dev
yarn run manage:translations