🗣️ Archived: the website translations now live in the 6b6t website repository.
This repository has been archived on 2026-11-25. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 50.6%
  • TypeScript 49.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pistonmaster 0ac8667d8d
All checks were successful
Commit style / Conventional Commits (pull_request) Successful in 4s
Validate translations / validate (pull_request) Successful in 19s
Workflow security / Audit workflows with zizmor (pull_request) Successful in 9s
Validate translations / validate (push) Successful in 28s
Workflow security / Audit workflows with zizmor (push) Successful in 8s
ci: pass zizmor's inputs and severity to the CLI
2026-11-24 20:47:37 +00:00
.forgejo chore: move CODEOWNERS to .forgejo and convert to Forgejo syntax [skip ci] 2026-11-24 20:18:35 +00:00
.github ci: pass zizmor's inputs and severity to the CLI 2026-11-24 20:47:37 +00:00
.idea chore(idea): add branded project icon 2026-11-03 20:15:17 +01:00
locales chore(i18n): sync the English source and website translations 2026-11-22 11:43:10 +01:00
scripts chore(lint): tighten translation script checks 2026-11-19 13:59:41 +01:00
.gitignore build: add oxlint and oxfmt 2026-11-18 01:43:07 +01:00
.oxfmtrc.json build: add oxlint and oxfmt 2026-11-18 01:43:07 +01:00
.oxlintrc.json chore(lint): tighten translation script checks 2026-11-19 13:59:41 +01:00
AGENTS.md refactor(scripts): move catalog scripts to Effect 2026-11-18 19:30:49 +01:00
CODE_OF_CONDUCT.md docs: add code of conduct 2026-09-21 23:01:13 +02:00
CONTRIBUTING.md build: add oxlint and oxfmt 2026-11-18 01:43:07 +01:00
lefthook.yml chore(hooks): run focused local checks with Lefthook 2026-11-12 10:56:05 +01:00
LICENSE chore: add CC0-1.0 license 2026-09-21 23:01:02 +02:00
package-lock.json chore(deps): update dependency @types/node to v26 (#31) 2026-11-22 21:56:04 +06:00
package.json chore(deps): update dependency @types/node to v26 (#31) 2026-11-22 21:56:04 +06:00
README.md docs: remove GitHub move notice [skip ci] 2026-11-24 20:00:43 +00:00
renovate.json ci: pin workflow actions and audit workflows with zizmor 2026-11-19 11:06:47 +01:00
SECURITY.md docs(contributing): consolidate translation review guidance 2026-10-05 22:15:14 +02:00
SUPPORT.md docs(contributing): consolidate translation review guidance 2026-10-05 22:15:14 +02:00
tsconfig.json build: enable noUnusedLocals and noUnusedParameters 2026-11-19 11:06:47 +01:00

6b6t website translations

Community-maintained translations for 6b6t.org.

The English files in locales/en are the source text. Translate the matching values in one of these folders:

  • locales/de — German
  • locales/es — Spanish
  • locales/fr — French
  • locales/hi — Hindi
  • locales/pl — Polish
  • locales/ru — Russian
  • locales/tr — Turkish

Do not rename keys, files, or placeholders such as {{players}}. Automated checks reject structural changes and broken placeholders. English text that has not been translated yet may remain in place, so contributions can be submitted one page at a time.

Catalog layout

Each website page has its own complete file. For example, home.json contains the homepage hero, features, gallery, partners, statistics, videos, FAQ, and all other homepage content. shop.json, legend.json, hytale.json, and the other page files follow the same pattern.

Inside a page file, generated website copy is grouped under sections by the component or area that displays it. Existing direct translation keys may appear before sections in older page files; they are also active and must remain.

  • shared.json — navigation, footer, dialogs, galleries, accessibility labels, and reusable components
  • server.json — messages that can reach the interface from APIs or shared services

You may translate one small section at a time; a whole-language rewrite is not required.

See CONTRIBUTING.md for the complete workflow.

Publishing accepted translations

After a translation pull request is reviewed and merged, synchronize the catalogs in the website repository with bun run translations:sync /path/to/6b6t-translations/locales. Verify and commit that change to the website's main branch. Its GitHub Actions workflow deploys the committed catalogs to Cloudflare, without fetching this repository during CI.

Local website builds can still fetch this repository's latest main unless SKIP_COMMUNITY_TRANSLATIONS_FETCH=true is set. The English source must match the website exactly. When the website source changes, export it with bun run translations:export-source /path/to/6b6t-translations/locales, preserve any newer translations already in the website, then validate both repositories.

Local Git checks

Install Lefthook 1.13.6 or newer and Python 3.10 or newer. Run this command once in each clone or linked worktree:

lefthook install

The commit hook checks staged whitespace without changing files or staging content. Before a push, the hook reads Git's exact ref updates and selects checks from the changed paths, including deleted files. New refs and unavailable remote baselines check the complete tree. Check out the commit that you push. Commit or stash tracked and untracked changes first so that checks use the pushed code. Deletion-only pushes do not run code checks. Hook regression tests run for every push with changed files. Documentation-only changes do not compile the application. CI remains enabled.

Install Node.js 24 or newer and npm, then run npm ci. Locale, validator, and package changes run npm run check for all locales. The validator checks key structure, value types, empty translations, array lengths, and placeholders. The validator and seed scripts are TypeScript files in scripts/. Node.js runs them directly. The same command then runs Oxlint, which also type-checks the scripts, and checks formatting with Oxfmt. Run npm run format to fix formatting. The hook does not seed, rewrite, or stage translations.

Preview all local checks and their selected paths:

python3 scripts/check-push.py --all --dry-run --verbose

Run all checks against the current working tree before committing:

python3 scripts/check-push.py --all

The --all command checks working files directly. It does not require a clean tree. Normal Git pushes require a clean tree and reject a ref that points to another commit.