fix: refine Japanese localization - #4270
Conversation
There was a problem hiding this comment.
Pull request overview
This PR refines the Japanese locale file for the extension by reformatting existing entries, correcting multiple translations/terminology, and adding translations for previously missing keys to better align with the English locale.
Changes:
- Expanded many entries from one-line JSON objects into multi-line objects and adjusted a large set of Japanese UI strings.
- Added Japanese translations for a large batch of previously missing keys (e.g., transcript copy, Shorts controls, Smart Speed options).
- Standardized several terms to match YouTube’s Japanese UI conventions (e.g., トレンド→急上昇, サブスクリプション→登録チャンネル).
Suppressed comments (1)
_locales/ja/messages.json:1648
- 同様に、「登録チャンネル」 ページ… のように引用符直後に半角スペースが入っています。UI上の余計な空白になるため、スペースを削除して統一してください。
"message": "「登録チャンネル」 ページの「関連度順」セクションを非表示"
},
"subscriptionsListLayout": {
"message": "「登録チャンネル」 ページをリストレイアウトで表示"
},
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "dislikingAVideoAddsItToBlocklist": { | ||
| "message": "動画に嫌い評価を付けるとブロックリストに追加されます" | ||
| "message": "動画に低評価をつけたとき、ブロックリストに追加" | ||
| }, | ||
| "displayDayOfTheWeek": { | ||
| "message": "曜日を表示" |
| "message": "「登録チャンネル」 ページでライブ配信を非表示" | ||
| }, | ||
| "autoContinueWatching": { | ||
| "message": "「視聴を継続しますか?」 ダイアログを自動で承認" | ||
| }, |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (5)
_locales/ja/messages.json:1033
playbackSpeedHotkeyはショートカット設定画面で再生速度プリセットのホットキー/ショートカットをまとめたセクション見出しとして使われています。現在の訳(「再生速度の一発切り替え」)だと意味が限定的なので、英語("Playback speed hotkeys")に合わせてショートカットであることが分かる表現にした方がUIとして正確です。
"playbackSpeedHotkey": {
"message": "再生速度の一発切り替え"
},
_locales/ja/messages.json:1621
- PR説明では「すべての571キーが _locales/en/messages.json と一致」とありますが、現状の ja は
"message"エントリ数が 572 で en(571) と一致していません(例: ja にdisplayDayOfTheWeekが存在し、en には存在しません)。このブロックでdisplayDayOfTheWeakを追加したことで不足キーは埋まっていますが、キー一致の検証結果(および不要キーの整理)も合わせて更新が必要です。
"displayDayOfTheWeak": {
"message": "曜日を表示"
},
_locales/ja/messages.json:1030
playbackSpeedはプレイヤー/ミキサーの再生速度スライダー等のラベルとして使われていますが、現在の訳(「再生速度の上下切り替え」)だと機能説明が変わってしまい誤解を招きます。英語も単に "Playback speed" なので、短いラベルに戻すのが適切です。
This issue also appears on line 1031 of the same file.
"playbackSpeed": {
"message": "再生速度の上下切り替え"
},
_locales/ja/messages.json:595
forcedVolumeは設定のスイッチで「音量を強制(固定)する」意味ですが、現在の訳(「音量を設定」)だと通常の音量設定(volumeスライダー)と区別がつきにくく、"Force Volume" の意図も落ちています。近くのforcedPlaybackSpeedが「固定」を用いているため、同様の語感に揃えると分かりやすいです。
"forcedVolume": {
"message": "音量を設定"
},
_locales/ja/messages.json:1570
hideProgressBarPreviewの訳が「シークバーのプレビューを非表示に」で文が途中で終わっており、UIラベルとして不自然です。英語は "Hide progress bar preview" なので、末尾の「に」を落として完結した表現にしてください。
"hideProgressBarPreview": {
"message": "シークバーのプレビューを非表示に"
},
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (1)
_locales/ja/messages.json:1621
displayDayOfTheWeakが同一ファイル内で 2 回定義されています(この後方の定義が前方の定義を上書き)。Chrome の i18n メッセージとしてはキーの重複は避け、どちらか片方を削除してください。
"displayDayOfTheWeak": {
"message": "曜日を表示"
},
|
thank you very much @sakurakun999 |
|
which ones might still make sense discussing?
(I say this by default to document and appreciate translator's efforts while fresh and remembered) Greetings to @utuhiro78 |
|
Thank you for merging my pull request! For this translation, I mainly referred to the Japanese interface of YouTube and other standard software UI to ensure the terminology feels natural to Japanese users. Here are the main challenges I encountered and topics that might be worth discussing in the future:
Thanks again! |
Summary
This PR updates and refines the Japanese localization (
_locales/ja/messages.json) by completing missing keys, correcting mistranslations.Key Changes
Added Missing Translations (46 keys):
Translation & Terminology Refinements:
depressed→凹型 (押し込み),ask→毎回確認,dislike→低評価).サブスクリプション→登録チャンネル,トレンド→急上昇).Files Changed
_locales/ja/messages.json(+247 lines, -95 lines)Verification
_locales/en/messages.json.I used AI to generate this pull request, but I didn't use AI for the translation.