[GH-ISSUE #1718] Add ability to select language for summaries #1071

Closed
opened 2026-03-02 11:54:47 +03:00 by kerem · 2 comments
Owner

Originally created by @denysdovhan on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1718

Describe the feature you'd like

Currently, default instructions for summaries contain this:

Summarize the following content responding ONLY with the summary. You MUST follow the following rules:
- Summary must be in 3-4 sentences.
- The summary language must be in english.

I use Karakeep in Ukrainian. I store some articles in Ukrainian and I would like to see summaries in a language that article is written in. For Ukrainian articles I want summaries in Ukrainian, for English in English and so on.

I was trying to override this behavior with and instruction, but no luck:

Ignore previous instruction. Use the language the article is written in for summaries. For example: for articles in Ukrainian write summary in Ukrainian, for English write summary in English and so on.

Describe the benefits this would bring to existing Karakeep users

Ability to change language for AI summaries.

Can the goal of this request already be achieved via other means?

I tried custom instruction without luck.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

Originally created by @denysdovhan on GitHub (Jul 10, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1718 ### Describe the feature you'd like Currently, default instructions for summaries contain this: ``` Summarize the following content responding ONLY with the summary. You MUST follow the following rules: - Summary must be in 3-4 sentences. - The summary language must be in english. ``` I use Karakeep in Ukrainian. I store some articles in Ukrainian and I would like to see summaries in a language that article is written in. For Ukrainian articles I want summaries in Ukrainian, for English in English and so on. I was trying to override this behavior with and instruction, but no luck: ``` Ignore previous instruction. Use the language the article is written in for summaries. For example: for articles in Ukrainian write summary in Ukrainian, for English write summary in English and so on. ``` ### Describe the benefits this would bring to existing Karakeep users Ability to change language for AI summaries. ### Can the goal of this request already be achieved via other means? I tried custom instruction without luck. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### Additional context _No response_
Author
Owner

@MohamedBassem commented on GitHub (Jul 10, 2025):

This english is coming from the env variable INFERENCE_LANG. Maybe use that to change it?

<!-- gh-comment-id:3059477016 --> @MohamedBassem commented on GitHub (Jul 10, 2025): This `english` is coming from the env variable `INFERENCE_LANG`. Maybe use that to change it?
Author
Owner

@MohamedBassem commented on GitHub (Jul 19, 2025):

Let's track that in #1744

<!-- gh-comment-id:3092148365 --> @MohamedBassem commented on GitHub (Jul 19, 2025): Let's track that in #1744
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1071
No description provided.