Thanks for taking the time to contribute !
Install the dependencies
yarn
yarn start
Don't forget to setup your IDE with eslint
and prettier
.
To change the BSC network from test net, modify the REACT_APP_CHAIN_ID
value in .env
.
- MAIN NET
56
- TEST NET
97
Firstly, if you need to install cypress
yarn cypress install
Then to run the Cypress suite in CLI
yarn cypress run
Or, to run Cypress with its GUI
yarn cypress open
In order for the Crowdin API queries to work - you will need REACT_APP_CROWDIN_APIKEY
& REACT_APP_CROWDIN_PROJECTID
env variables set in your root .env.development.local
file
A hook expose the function you need to translate content.
import useI18n from 'hooks/useI18n'
...
const TranslateString = useI18n()
...
TranslateString(id, 'fallback')
- id is the crowdin id of the string you want to translate.
- fallback is a string fallback used if the id cannot be found.