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
PR #15684 — Project file failures show untranslated server reasons (discussion_r3962007029) #13
Showing the real reason is the point — a capacity race, an expired file or a deleted project each explain a retry that will not succeed, and the generic upload error does not. But those strings come from packages/api/src/projects/handlers.ts in English (Project file limit reached, Project not found), so a user on a non-English locale gets one English line in an otherwise localized surface. Only the fallback is localized.
Suggested direction
Give the project file endpoints a small stable reason code alongside the message and map codes to localized strings on the client, keeping the server string as the fallback for unknown codes. That keeps the diagnostic value without shipping untranslated UI text.
Fixed on dev (852e004): client/src/components/Projects/ProjectResources.tsx:75-83 getAssociationErrorMessage only shows localized strings (com_ui_project_file_limit, com_ui_project_file_attach_error); landed in ebb02b1 (LibreChat-AI#15684).
Activity
berry-13 commentedon Sep 29, 2026
Fixed in the root PR at LibreChat-AI/LibreChat@ebb02b14c3 (association failures show localized messages, never server text), verified on head 2f79ee5. Closes when LibreChat-AI#15684 merges.
berry-13 commentedon Oct 8, 2026
Fixed on dev (852e004): client/src/components/Projects/ProjectResources.tsx:75-83 getAssociationErrorMessage only shows localized strings (com_ui_project_file_limit, com_ui_project_file_attach_error); landed in ebb02b1 (LibreChat-AI#15684).