Skip to content

fix(archivist): write filings in the household language - #185

Merged
arthware-dev merged 2 commits into
mainfrom
fix/archivist-household-language
Oct 6, 2026
Merged

arthware-dev merged 2 commits into
mainfrom
fix/archivist-household-language

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Summary

  • Image captures in a German household were filed with English titles and summaries: the prompts said "write in the content's own language", and a photo has none. The archivist now writes every filing in the household language, whatever the source is in. Names, amounts and technical terms stay as printed, and the original document is untouched.
  • A room can choose another language with !config language <code>, keep the source's with !config language source, and reset with !config language default.

Two commits that each stand alone: rebase merge.

Image captures in a German household were filed with English titles,
summaries and tags. The classify prompts told the model to write in
"the content's own language". A pasted photo has no words, so the model
followed the language of the prompt, which is English. The same rule
kept a Spanish invoice in Spanish, although the family reads the wiki
compiled from these entries in their own language.

The archivist now writes title, summary, facts, action items and tags
in the household language (`[core] language`), whatever language the
source is in:

- the prose is translated; names, amounts, numbers, addresses and
  established technical terms ("Kubernetes") stay as printed
- the document itself, its PDF and OCR text, is not changed
- the prompt names only the household language, so an English
  household is never shown German
- language names come from one shared table, which the diary uses too

German content filed on an English install is now summarized in
English. Entries filed before this change keep their language.

Fixes: 2edcce3 ("fix(docs): stop an English household getting German summaries (#86)")
A room can now choose the language the archivist files in, for example
a room for English IT bookmarks in a German household:

- `!config language en` writes every filing from that room in English;
  `de`, `es`, `fr`, `it`, `nl` and `pt` work the same way
- `!config language source` keeps the language the content is written
  in; content without words of its own falls back to the household
  language
- `!config language default` resets the room to the household language

The setting applies to captures, documents and corrections sent in that
room, and `!config` lists it with the household language named. The
worked examples in the prompt follow the chosen language, so an English
room is never shown German examples. Email captures and
`stack docs reprocess` keep the household language.
@arthware-dev
arthware-dev merged commit 3b7cf0e into main Oct 6, 2026
1 check passed
@arthware-dev
arthware-dev deleted the fix/archivist-household-language branch October 6, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant