gemini-cli - 💡(How to fix) Fix Why are you speaking Japanese to me? [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26380Fetched 2026-05-03 04:52:21
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
commented ×1labeled ×1renamed ×1
RAW_BUFFERClick to expand / collapse

What happened?

Gemini started cursing at me in Japanese. Just kidding, but why is it using these characters? 探したところ、DailyForecastGraphRenderer.kt内の定数が原因であることがわかりました。ご指摘の「12%」「24%」は夜間の降水確率ラベルで、現在は隣り合う気温ラベルの高 さが違う場合に、重なりを避けるために右へ2dpずらし、さらに1dp下に下げる「nudge(微調整)」ロジックが入っています。

これを解消するために、以下の修正を提案します:

  1. より高く配置:
    • NIGHT_RAIN_TEMP_OVERLAP_DP(気温ラベルとの重なり)を 3dp → 6dp に増やし、全体的に上に持ち上げます。
    • NIGHT_INTERSTITIAL_V_DROP_DP(段差がある時の下げ幅)を 1dp → 0dp にして、下げないようにします。
    • (ついでに日中のラベルも -2dp → 2dp に変更し、バーの上により高く配置します)
  2. より左に(中央に)配置:
    • NIGHT_INTERSTITIAL_H_NUDGE_DP(段差がある時の左右のずれ)を 2dp → 0dp にして、日付の境界線上にぴったり合わせます。

この方向で修正プランを作成してもよろしいでしょうか?あるいは、もっと大幅に上にずらした方が良さそうでしょうか。

bug-report-history-1777743426781.json

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

What did you expect to happen?

English

Client information

  • CLI Version: 0.40.1
  • Git Commit: 7a382e066
  • Session ID: f266585e-c735-4417-8d9d-2d54b0b93b8a
  • Operating System: linux v20.19.2
  • Sandbox Environment: no sandbox
  • Model Version: gemini-3-flash-preview
  • Auth Type: oauth-personal
  • Memory Usage: 302.6 MB
  • Terminal Name: Konsole 25.04.2
  • Terminal Background: #232627
  • Kitty Keyboard Protocol: Unsupported

Login information

Google account

Anything else we need to know?

No response

extent analysis

TL;DR

Adjust the layout constants in DailyForecastGraphRenderer.kt to resolve the character overlap issue.

Guidance

  • Review the proposed changes to NIGHT_RAIN_TEMP_OVERLAP_DP, NIGHT_INTERSTITIAL_V_DROP_DP, and NIGHT_INTERSTITIAL_H_NUDGE_DP constants to understand their impact on the layout.
  • Consider increasing NIGHT_RAIN_TEMP_OVERLAP_DP to 6dp and setting NIGHT_INTERSTITIAL_V_DROP_DP to 0dp to reduce overlap.
  • Evaluate the effect of adjusting the day labels to -2dp to 2dp for better positioning.
  • Test these changes to verify if they resolve the character overlap issue without introducing new problems.

Example

No code snippet is provided as the issue does not include specific code that needs modification, but rather suggests changes to existing constants.

Notes

The proposed solution focuses on adjusting layout constants, which might not be the only solution. Further testing and iteration may be necessary to find the optimal configuration.

Recommendation

Apply the proposed workaround by adjusting the layout constants as suggested, as it directly addresses the reported issue and provides a clear path to resolving the character overlap problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING