Head over to Crowdin and submit translations in any language you speak.
Head over to our Questionnaire Creator (where you can also try out every Questionnaire from the API): https://covquestions.z16.web.core.windows.net/
After creating you Questionnaire you can either send us an email, open an issue or follow this guide:
- Clone this repo
git clone https://github.com/CovOpen/CovQuestions.git
. - Navigate to
api/v1
. - Add your
questionnaire.json
to theinput
folder. Make sure:- that
id
andversion
of your Questionnaire are unique. (Check theapi/v1/src/data
folder for id's (folder name) and versions (child folder names)) - again the id (look into src/data for already published questionnaires).
- the version number and maybe increase it.
- the questionnaire has to be in english (you can submit/add translations later)
- the language of the questionnaire and the language specified in the
language
attribute.
- that
- Run
npm run pre-build
- Create a Branch, commit and open a PR which can be merged to master.
Now the CD Pipeline will take over.
TODO
- Run npm run pre-build-addnpm run pre-build
- (Optional) Add your translation files to data/questionnaires//i18n.
- Run npm run pre-build-trans. (If you dont have any translations you can run both commands with npm run pre-build)
Head over to https://wevsvirushack.crowdin.com/covquestions and start translating.
The preview is deployed on Azure Blob Storage. Get the workflow from the according workflow files.
In order to create your azure credentials follow this guide.