← Keyhac crftwr/keyhac on GitHub · craftware

Translations of README and the user docs

README.md and the user docs in doc/*.md are also published in Japanese (#283). English is the source of truth; a Japanese page is a translation of it, never a page of its own with extra or different content. Same scheme as XeFM’s.

These stay English only:

tools/check_translations.py lists the doc pages it skips in UNTRANSLATED.

Files

Each translation sits next to its source with .ja before the extension:

README.md                  README.ja.md
doc/installation.md        doc/installation.ja.md
doc/configuration.md       doc/configuration.ja.md
doc/dev/...                (not translated)

Images are shared: images/... links are copied unchanged. The .<lang>.md naming extends to another language if one is ever added.

No front matter

GitHub renders YAML front matter as a table at the top of the file, so a translation carries none. The Pages layout (_layouts/default.html) derives the language from the path instead: a page whose source ends in .ja.md is Japanese.

The switcher line

GitHub has no language switcher of its own, so each page of a translated pair carries one on the line after its title:

# Installation

English \| [日本語](installation.ja.md)
# インストール

[English](installation.md) \| 日本語

The pipe is escaped because kramdown, which builds the Pages site, reads any line with a bare | as a one-row table; GitHub shows \| as a plain |. It goes after the # title, not above it: GitHub Pages takes a page’s <title> from a heading at the very start of the file, and a line above it would leave the page untitled. In README.md, wrap it in <!-- pypi-exclude-start --> / <!-- pypi-exclude-end --> so it stays off PyPI. The Pages layout removes this line and shows its own switcher in the header instead.

On the Pages site

The layout, for a page that has a counterpart:

A page with no translation gets none of this and stays English.

Keeping translations current

Style

Not translated

Keyhac’s interface is English only, so anything the reader has to find on screen or type stays exactly as in the English page:

Where a label needs explaining, add the Japanese after it once: Reload Config(設定の再読み込み).

Glossary

Use these renderings everywhere, so one English term reads as one Japanese term across the docs. Add a row when a new recurring term comes up.

English 日本語 Notes
Accessibility permission アクセシビリティ権限 the OS label stays Accessibility
accessibility tree アクセシビリティツリー  
action アクション an Action / ThreadedAction
AI assistant / agent AI アシスタント / エージェント  
AI integration AI 連携  
application, app アプリケーション、アプリ  
armed (prefix, multi-stroke table) 入力待ち  
assignment 割り当て kt["Fn-J"] = …
authoring オーサリング  
background work バックグラウンド処理  
balloon バルーン  
bind / key binding 割り当てる / キー割り当て  
bridge ブリッジ the stdio bridge
bundle / app bundle バンドル / アプリバンドル  
candidate / candidate window (IME) 候補 / 候補ウィンドウ  
caret キャレット  
chooser チューザー the popup list; first use: チューザー(選択ウィンドウ)
client (MCP) クライアント  
clipboard / clipboard history クリップボード / クリップボード履歴  
compose (IME) 変換する  
configuration, config 設定 config.py stays as is
consent 同意  
console window コンソールウィンドウ  
consume (a key) 消費する  
Contact & Support 連絡先とサポート as a heading
default 既定 / 既定値 never デフォルト
deprecated 非推奨  
Documentation ドキュメント as a heading
element (UI) 要素  
elevated (administrator) 管理者権限で動く  
endpoint エンドポイント  
extension (~/.keyhac/extensions/) 拡張  
filter (verb) / filter field 絞り込む / 絞り込み欄  
fire (a binding) 発火する  
focus / focus path フォーカス / フォーカスパス  
focus condition フォーカス条件 app=, title=, …
hook / keyboard hook フック / キーボードフック  
IME IME  
inject 注入する  
input source (macOS) 入力ソース  
inspector インスペクター  
key expression キー表現 "Ctrl-Shift-A"
key table キーテーブル  
keyboard macro キーボードマクロ  
keymap キーマップ the keymap object stays in code
launch 起動  
log / log level ログ / ログレベル  
loopback ループバック  
main thread / worker thread メインスレッド / ワーカースレッド  
menu-bar extra (macOS) メニューバーアイコン  
migration 移行  
modifier モディファイア “modifier key” → モディファイアキー
monitor / screen モニター / 画面  
multi-stroke マルチストローク  
one-shot modifier ワンショットモディファイア  
pass through (a key) そのまま通す noun: パススルー
permission 権限  
persist 永続化  
portable mode ポータブルモード  
precondition 事前条件 per-step checks in an action
prefix key プレフィックスキー  
preview プレビュー  
privacy プライバシー  
query クエリ  
remap リマップ  
Requirements 動作環境 as a heading
second stroke 2 打目  
See also / Related 関連項目 as a heading
selector セレクター  
settings (settings.json) 各種設定 keeps it apart from 設定 = config
skill (AI agent) スキル  
snapshot スナップショット  
snippet 定型文  
source (chooser) ソース  
step (action) ステップ  
sync (Python packages) 同期  
task tray (Windows) タスクトレイ “tray menu” → トレイメニュー
template テンプレート  
token トークン  
traceback トレースバック  
Translation table 対応表 migration guide
transport (MCP) トランスポート  
troubleshooting トラブルシューティング  
uninstall アンインストール  
user modifier ユーザーモディファイア  
verified / untried (clients) 検証済み / 未検証  
virtualenv 仮想環境  
window ウィンドウ  
work area 作業領域