Feature Request: Add option to customize session title language #4415

Open
opened 2026-02-16 17:43:43 -05:00 by yindo · 1 comment
Owner

Originally created by @togo01 on GitHub (Jan 8, 2026).

Originally assigned to: @thdxr on GitHub.

Summary

Currently, session titles are automatically generated in English by the small_model. It would be helpful to have an option to customize the language for session title generation.

Use Case

For non-English speaking teams or projects with localized documentation, having session titles in the local language (e.g., Traditional Chinese, Japanese, etc.) would improve readability and organization.
I tried adding language instructions to AGENTS.md:

### Session 標題
當為對話產生標題時,**必須使用繁體中文**。

However, this has no effect since title generation appears to be an independent lightweight task that doesn't read the project's AGENTS.md instructions.
Proposed Solution
Add a configuration option in opencode.json, for example:

{
  $schema: https://opencode.ai/config.json,
  title_language: zh-TW
}

Or alternatively:

{
  $schema: https://opencode.ai/config.json,
  locale: zh-TW
}

Alternatives Considered

  1. Adding instructions to AGENTS.md - doesn't work
  2. Adding instructions to global ~/.config/opencode/AGENTS.md - doesn't work
    Additional Context
  • The small_model is used for title generation according to the docs
  • This would benefit users in non-English speaking regions
Originally created by @togo01 on GitHub (Jan 8, 2026). Originally assigned to: @thdxr on GitHub. ## Summary Currently, session titles are automatically generated in English by the `small_model`. It would be helpful to have an option to customize the language for session title generation. ## Use Case For non-English speaking teams or projects with localized documentation, having session titles in the local language (e.g., Traditional Chinese, Japanese, etc.) would improve readability and organization. I tried adding language instructions to `AGENTS.md`: ```markdown ### Session 標題 當為對話產生標題時,**必須使用繁體中文**。 ``` However, this has no effect since title generation appears to be an independent lightweight task that doesn't read the project's AGENTS.md instructions. Proposed Solution Add a configuration option in opencode.json, for example: ```json { $schema: https://opencode.ai/config.json, title_language: zh-TW } ``` Or alternatively: ```json { $schema: https://opencode.ai/config.json, locale: zh-TW } ``` Alternatives Considered 1. Adding instructions to AGENTS.md - doesn't work 2. Adding instructions to global ~/.config/opencode/AGENTS.md - doesn't work Additional Context - The small_model is used for title generation according to the docs - This would benefit users in non-English speaking regions
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

This issue might be a duplicate of or related to existing issues. Please check:

  • #1389: Feature Request: Rename Session Title - requests ability to customize/rename session titles
  • #6827: Session summary mixes spanish and Russian - related to language handling in session titles
  • #6228: Configuration option to disable message summary generation - related to configuration options for session/summary generation

Feel free to ignore if these don't address your specific case. Your feature request for language-specific session title generation is a more targeted enhancement that could help non-English speaking users.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate of or related to existing issues. Please check: - #1389: Feature Request: Rename Session Title - requests ability to customize/rename session titles - #6827: Session summary mixes spanish and Russian - related to language handling in session titles - #6228: Configuration option to disable message summary generation - related to configuration options for session/summary generation Feel free to ignore if these don't address your specific case. Your feature request for language-specific session title generation is a more targeted enhancement that could help non-English speaking users.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4415