English / 한국어
User translation repository for Baekjoon Online Judge. To view translations on the problem page, see o-ey.
If you don't want to translate but to fix typos, please refer to the section Fixing Typos.
Requires git and python 3.
Fork and clone the repository, and type the following command to move to the repository directory.
cd <location of cloned repository>
Move to the your repository directory, and type the following command to create new translation files.
python3 new-tr.py <problem-id> <language-code> <username>
<language-code>
should be a valid IETF language tag, with-
replaced by_
(as inen_US
,ko_KR
).
A file will be generated as src/<problem-id>/<language-code>-<username>.html
,
and The file index
will be updated accordingly.
After translating the content of generated file, type the following command
to upload your translation to GitHub.
git add .
git commit -m "작업 내용"
git push
Move to the your repository directory, and type the following command.
python3 del-tr.py <problem-id> <language-code> <username>
Click the button of o-ey
extension, and enter the URL of your translation repository.
Uploaded change will be applied in a few minutes, which you can view on BOJ.
Create a Pull Request from your forked repository into the base repository. The maintainer will soon review your request and merge it.
Follow the section How to Contribute, except for:
You should enter BOJ's internal language name instead of an IETF language tag.
- Problems providing a single language (no language button):
Original
- Korean:
Korean
- English:
English
- For other languages, please leave an issue.
You should enter typo
instead of your username.
Mind that there is no dedicated space for your contribution credit.
- No new sections can be used now.
- No XSS (or any malicious HTML injection) is allowed.
- You can rearrange paragraphs, rewrite sentences, or change character names if you follow the problemsetter's intention.
- If the problem has defects that should be resolved, you can warn in translation but please write together that the warning is inserted by the translator.
- Regarding formats, please refer to formatting guide.
- Under constraints above, translate freely.
- For languages not in my fluent zone, approval for pull requests can be delayed.
- Before sending pull requests, please review the local changes via
o-ey
. You can see the local changes by adding your repository to the repository list ofo-ey
.