You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
app: untitled sessions show English "New session" in other languages #68597
With the app in another language, a session without a title still shows the English "New session" (or "Child session" for a subagent session). This happens in the Home session list and search results, the project browser, the sidebar session rows, the inbox, Settings > Workspaces and the navigation view. Home search also matches only the English words.
The label comes from displayLabel in packages/util/src/session-title-fallback.ts, which returns fixed English text. Other places in the app already show untitled sessions with language.t("command.session.new"), which is translated (for example the delete dialogs in Home and the inbox).
Not observed; this looks likely from reading the code.
This still happens on the latest dev (766a0cf). I confirmed it by reading the code; I could not run the app here.
displayLabel in packages/util/src/session-title-fallback.ts (line 20) returns fixed English text, "New session" or "Child session", when a session has no title.
sessionLabel in packages/app/src/session/title.ts returns that text unchanged. Home rows (home/sessions/view.tsx), Home search (home/sessions/search.ts), the inbox and the other places you list all use it.
The delete dialogs fall back to language.t("command.session.new") instead, which is 新建会话 in zh.ts.
Your PR #68598 changes sessionLabel to use the app's language in this way.
Activity
opencodejr commentedon Dec 6, 2026
Not observed; this looks likely from reading the code.
This still happens on the latest
dev(766a0cf). I confirmed it by reading the code; I could not run the app here.displayLabelinpackages/util/src/session-title-fallback.ts(line 20) returns fixed English text,"New session"or"Child session", when a session has no title.sessionLabelinpackages/app/src/session/title.tsreturns that text unchanged. Home rows (home/sessions/view.tsx), Home search (home/sessions/search.ts), the inbox and the other places you list all use it.language.t("command.session.new")instead, which is新建会话inzh.ts.Your PR #68598 changes
sessionLabelto use the app's language in this way.