Skip to content

YakuCheck rules

YC rules check key parity; JA rules check Japanese UI conventions. Change severity in .yakucheck.json ("JA109": "off").

IDSeverityRuleExample
YC001errorMissing key in target
The UI shows the raw key or the source text.
YC002warningExtra key in target
Probably a stale translation.
YC003errorPlaceholder / tag mismatch
Missing {name} or <b> breaks rendering or throws at runtime.
Hello, {name}✕ こんにちは、{namae}さん○ こんにちは、{name}さん
YC004errorEmpty translation
Nothing is shown in the UI.
YC005warningUntranslated (same as source)
English leaks into the Japanese UI. Add product names to keepTerms.
YC006errorType mismatch
A string and an object are swapped.
YC007warningPlural forms do not fit Japanese
Japanese has only the "other" plural category (CLDR). Without _other, i18next shows nothing.
YC008errorBroken ICU syntax
Unbalanced braces make next-intl throw at runtime.
YC201warningInconsistent translations
The same source string is translated differently in different keys.
YC203errorGlossary term not used
The translation does not use the glossary term.
YC204warningKeep-term was translated
A term listed in keepTerms is missing from the translation.
JA101errorTypical UI mistranslation
Machine translation often picks the wrong sense of short UI words (Close → "near", Home → "house").
Close✕ 近い○ 閉じる
JA102warningMixed polite / plain style
Mixing polite (desu/masu) and plain style looks careless to Japanese users.
✕ 保存できない。○ 保存できません。
JA103warningInconsistent spelling
Variants such as ユーザー/ユーザ or ログイン/サインイン are mixed. Align to the majority.
✕ ユーザ名○ ユーザー名
JA104warningFull-width / half-width characters
Japanese UI uses half-width letters/digits, full-width katakana, and 、。 for punctuation.
✕ ログイン:IDを入力,○ ログイン:IDを入力、
JA105warningButton label style
Japanese buttons are short: no 。, no "してください" or "します" (e.g. 保存, 送信する).
Save✕ 保存してください。○ 保存
JA106warningSuccess toast style
Japanese success messages use "〜しました" (保存しました), not 保存済み / 保存された.
Saved✕ 保存済み○ 保存しました
JA107warningError message style
Japanese error messages avoid "!" and use "〜できませんでした" with the next step.
Failed to save!✕ 保存に失敗した!○ 保存できませんでした。
JA108warningLiteral "your" (あなたの)
Japanese UI drops "your": "Your account" → アカウント, not あなたのアカウント.
Your account✕ あなたのアカウント○ アカウント
JA109infoInconsistent spacing around Latin words
Spacing between Japanese and Latin words is inconsistent.
JA110warningLiteral "please" / "kindly"
"Please" → どうぞ and "kindly" → 親切に are literal translations.
Please enter your email✕ どうぞあなたのメールを入力してください○ メールアドレスを入力してください
JA111warningLatin quotes in Japanese text
Japanese text quotes with 「」.
✕ "保存"を押す○ 「保存」を押す
JA112infoLong button label
Keep Japanese buttons within ~12 characters (they wrap on phones).

Typical UI mistranslations (JA101, 33 patterns)

Applied only when the source is a short UI string (not to sentences).

SourceWrongNatural
Close近い・近く閉じる
Back背中・背面・裏側戻る
Home家・住宅ホーム
Save救う・節約・貯金・貯める保存
Free自由無料
Book本予約する
Order順序・命令・秩序注文
Post柱・支柱投稿
Submit服従・降伏・従う送信
Sign in署名・標識・看板ログイン
Sign up署名・標識・看板新規登録
Sign out署名・標識ログアウト
Log in丸太・記録の中ログイン
Run走る・走って実行
Draft徴兵・喫水・隙間風下書き
Share株・株式・分け前共有
Clear透明・明確・晴れクリア
Refresh爽やか・元気更新
Feed餌・えさ・飼料フィード
Dismiss解雇・退ける閉じる
Bill法案・くちばし・紙幣請求書
Trial公判・試練・裁判無料トライアル
Plan計画・企画プラン
Account勘定・口座・説明アカウント
Invalid病人・病弱・傷病正しくありません
Execute処刑実行
Kill殺す・殺害強制終了
Abort中絶中止
Like好き・のような・似ているいいね
Follow従う・追跡・後に続くフォローする
Matchマッチ棒一致
Tag鬼ごっこ・値札タグ
Started驚いた・びっくり始める

Spelling variant groups (JA103)

When two or more appear in one file, YakuCheck suggests the majority form.

  • ユーザー / ユーザ
  • サーバー / サーバ
  • コンピューター / コンピュータ
  • ブラウザー / ブラウザ
  • フォルダー / フォルダ
  • パラメーター / パラメータ
  • プリンター / プリンタ
  • マネージャー / マネージャ / マネジャー
  • ディレクトリー / ディレクトリ
  • カテゴリー / カテゴリ
  • メモリー / メモリ
  • ライブラリー / ライブラリ
  • セキュリティー / セキュリティ
  • エディター / エディタ
  • コンテナー / コンテナ
  • スキャナー / スキャナ
  • ヘッダー / ヘッダ
  • フッター / フッタ
  • フィルター / フィルタ
  • プロバイダー / プロバイダ
  • アダプター / アダプタ
  • お問い合わせ / お問合せ / お問合わせ
  • 問い合わせ / 問合せ / 問合わせ
  • 申し込み / 申込み
  • 引き落とし / 引落し / 引落とし
  • 取り消し / 取消し
  • 受け付け / 受付け
  • 読み込み / 読込み / 読込
  • 書き込み / 書込み
  • 振り込み / 振込み
  • 売り上げ / 売上げ
  • ログイン / サインイン / ログオン
  • ログアウト / サインアウト / ログオフ
  • メールアドレス / Eメールアドレス / Eメールアドレス / メアド
  • キャンセル / 取り消す
  • 削除 / 消去