website-wip/README.md

760 B

CyberOS Website

Currently a work-in-progress. You can help by submitting a pull request!

Developing:

To preview the website, run:

yarn
yarn start

Translating:

Note: We uses ISO 639-3 codes

  1. to i18n.ts in src/components, add your language alphabetically in the form of:
'en-US': {
    translation: en,
},
  1. import the translation file at the top of i18n.ts: (don't forget to sort them alphabetically!)
import en from './translations/en-US.json'
  1. copy a fully translated language file (en-US.json will work best) to <your-language-code>.json in src/components/translations/

  2. Start translating!