Reviewed-on: https://git.omame.tech/CyberOS/website-wip/pulls/6 |
||
---|---|---|
.github/workflows | ||
public | ||
src | ||
.babel-plugin-macrosrc.js | ||
.babelrc | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
package.json | ||
tailwind.config.js | ||
tsconfig.json | ||
types.d.ts | ||
webpack.config.js | ||
yarn.lock |
README.md
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
- to
i18n.ts
insrc/components
, add your language alphabetically in the form of:
'en-US': {
translation: en,
},
- import the translation file at the top of
i18n.ts
: (don't forget to sort them alphabetically!)
import en from './translations/en-US.json'
-
copy a fully translated language file (
en-US.json
will work best) to<your-language-code>.json
insrc/components/translations/
-
Start translating!