- src/
- backend/ - (Backend resource files)
- definitions/ - (There are sub-directories which have 2 chars language id)
- en/ - (English resources)
- email.json - (email template)
- localize.json - (string resources)
- ja/ - (Japanese resources)
- [Same files above]
- ru/ - (Russian resources)
- [Same files above]
- ko/ - (Korean resources)
- [Same files above]
- en/ - (English resources)
- definitions/ - (There are sub-directories which have 2 chars language id)
- frontend/ - (Frontend resource files)
- definitions/ - (There are subdirectories which have 2 chars language id)
- en/ - (English resources)
- localize.json - (string resources)
- ja/ - (Japanese resources)
- [Same files above]
- ru/ - (Russian resources)
- [Same files above]
- ko/ - (Korean resources)
- [Same files above]
- languages.json - (Language id list we can use) * DO NOT MODIFY
- en/ - (English resources)
- components/ - (There are subdirectories which have 2 chars language id)
- en/ - (English resources)
- Instruction.tsx
- Introduction.tsx
- ListOfExchanges.tsx
- ja/ - (Japanese resources)
- [Same files above]
- ru/ - (Russian resources)
- [Same files above]
- ko/ - (Korean resources)
- [Same files above]
- parameters.ts - (Template parameters definition) * DO NOT MODIFY
- en/ - (English resources)
- definitions/ - (There are subdirectories which have 2 chars language id)
- backend/ - (Backend resource files)
Please DO NOT MODIFY any files other than those listed above
Clone this repository and cd root of source tree.
Then execute following command.
$ yarn
or
$ node install
Create following directories
-
src/backend/definitions/
[2 chars language id]
/- Copy files from
src/backend/definitions/en/*
- Copy files from
-
src/frontend/definitions/
[2 chars language id]
/- Copy files from
src/frontend/definitions/en/*
- Copy files from
-
src/frontend/pages/
[2 chars language id]
/- Copy files from
src/frontend/pages/en/*
- Copy files from
[2 chars language id]
can be grabbed from src/frontend/languages.json
- src/backend/definitions/
[2 chars language id]
/* - src/frontend/definitions/
[2 chars language id]
/* - src/frontend/pages/
[2 chars language id]
/*
For contributors: You can credit your name and url in localize.json
located here:
- src/frontend/definitions/
[2 chars language id]
/localize.json
translator_names
andtranslator_urls
(These accept string array)
The value accepts string array.
Generally the value doesn't accept html code except properties which begin with html_
.
%d
or %s
is a printf style placeholder, so it'll be replaced by parameters.
Don't remove them.
- Change page layout/style
- Add medias (internal/external)
- Add external link (Except allowed)
- Add commercial of unrelated company.
- Add malicious code.
- Modify files that disallowed modification
- Add files to disallowed location
These contents will be revoked when marge.
$ yarn start
or
$ npm run start
Now you can preview pages on http://localhost:3000
It doesn't have complete contents, so you can preview limited pages only.
Push voluntary branch (except 'master', 'staging' and 'preview') and create pull request.
Official member will possibly modify / delete your content without prior notice.
After the marge, your language will be enabled on the live site!