Skip to content

Add Japanese translation - #1409

Merged
mlinksva merged 2 commits into
github:gh-pagesfrom
shogo82148:japanese-localization
Nov 17, 2026
Merged

mlinksva merged 2 commits into
github:gh-pagesfrom
shogo82148:japanese-localization

Conversation

@shogo82148

Copy link
Copy Markdown
Contributor

Summary

Adds a Japanese (ja) translation, following TRANSLATING.md.

  • _config.yml: add "ja" to languages
  • _data/i18n/ja/ui.yml: all interface strings (placeholders such as %title% / %id%, links and anchors kept intact)
  • _data/i18n/ja/rules.yml: labels and descriptions for all 17 permissions / conditions / limitations
  • _data/i18n/ja/licenses.yml: description / how / note for all 47 licenses (same coverage as French)
  • i18n/ja/{about,community,no-permission,non-software}.md: the four prose pages, same permalink, lang: ja

License legal texts are not translated. Anything missing falls back to English.

Like the other community translations, this is an AI-assisted initial translation that can be refined further via Weblate or follow-up PRs.

Translation notes

  • Polite です・ます style throughout.
  • Terminology: permissive → パーミッシブライセンス, copyleft → コピーレフト, permissions / conditions / limitations → 許可 / 条件 / 制限.
  • Tooltips lead with the category, like Korean and French: 許可「商用利用」:…
  • License names stay in English (MIT License, GNU GPLv3, …).

Testing

  • bundle exec jekyll build succeeds and bundle exec rspec passes (1112 examples, 0 failures).
  • Checked /ja/, /ja/licenses/, /ja/licenses/mit/, /ja/appendix/ and the prose pages in a browser: <html lang="ja"> is set, 日本語 appears in the language selector, and rule tooltips render in Japanese.
  • Note: the specs need a UTF-8 locale (e.g. LANG=en_US.UTF-8); under US-ASCII, i18n_spec.rb fails with an encoding error even without this change.
  • This touches the same languages: line in _config.yml as Add German translation #1408 (German), so whichever merges second will need a trivial rebase.

🤖 Generated with Claude Code

Enable ja: interface strings (ui.yml), rule labels (rules.yml), summaries
for all 47 licenses (licenses.yml) and the four prose pages
(i18n/ja/*.md). License legal texts are left untranslated, and anything
missing falls back to English.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 13:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The broad Japanese translation of legal and licensing guidance across 47 summaries requires fluent native-language and licensing expertise to verify nuanced terminology and preserve the intended legal distinctions.

No open issues 🎉

What changed in this PR

Adds Japanese localization across the site, including interface strings, rule descriptions, summaries for all 47 licenses, and four informational pages. Legal license texts remain in English and fall back as needed.

Changes:

  • Registers Japanese (ja) as a supported language.
  • Adds Japanese UI, rule, and license-summary translations.
  • Adds localized About, Community, No License, and Non-Software pages.
  • Corrects the Community page to preserve the “GPLv2 or later” guidance.
File Description
i18n/​ja/​non-software.md Adds the Japanese Non-Software page.
i18n/​ja/​no-permission.md Adds the Japanese No License page.
i18n/​ja/​community.md Adds Japanese community guidance, including GPLv2-or-later licensing guidance.
i18n/​ja/​about.md Adds the Japanese About page.
_data/​i18n/​ja/​ui.yml Adds Japanese interface and navigation strings.
_data/​i18n/​ja/​rules.yml Adds Japanese permission, condition, and limitation descriptions.
_data/​i18n/​ja/​licenses.yml Adds Japanese summaries and application guidance for all 47 licenses.
_config.yml Registers Japanese in the supported language list.

This pull request requires changes.

Review effort: Lite (auto)

@mlinksva
mlinksva merged commit 6e4381a into github:gh-pages Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants