Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

intent: notify languageFrom localizes only the attached print - the mail's subject/body and its multilingual placeholders ({escalation.wording}) stay in the default language

Aperta
#7,906 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start by reading NotificationIntent and the notify handling that generates OverdueInvoiceRemindersJob; the issue identifies these as the entry points but gives no file paths or tests. Trace how language and languageFrom reach attached-print rendering, then inspect how multilingual _LANG overlays are read. Done means the whole mail uses the selected language for placeholders and translated subject/body text, with the stated fallbacks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What happens

A notify: block with languageFrom: (e.g. a dunning schedule, languageFrom: Language.code) renders the attached print in the record's language, but the mail around it does not follow:

  • the authored subject: / body: text is emitted as a Java string literal in the generated job (OverdueInvoiceRemindersJob), with no i18n key, so it is always the intent's (English) text;
  • a placeholder that reads a multilingual row - {escalation.wording} / {escalation.name} of an escalate: ladder over a multilingual: true setting, or {SentMethod.name}-style hops - is read through the repository in the job's default locale, so the <ENTITY>_LANG overlay (which the seed already fills, e.g. SALES_INVOICES_REMINDER_LEVEL_LANG.Wording) is never applied.

Result (BusinessIntents base-sales-invoices#72, 14.88.0 and 14.90.0): a Bulgarian customer receives an English dunning sentence around a Bulgarian invoice PDF, although the Bulgarian wording is in the database.

Ask

When languageFrom: (or language:) is declared on a notify, resolve the WHOLE mail in that language:

  1. the multilingual placeholders ({escalation.*}, {<relation>.name} over a multilingual target) read the overlay row for that language, falling back to the base row;
  2. the authored subject/body get an i18n key (like checks.* messages do) so a module can ship i18n/bg-BG text for them, falling back to the authored text.

NotificationIntent has no knob for this on v14.88.0 or v14.90.0 (language/languageFrom are documented as the attach render language only).

Filed from BusinessIntents base-sales-invoices#72 (pre-train wave 2026-10-17). The module side is ready: the bg wording is seeded into the _LANG table.

Lingua principale
Java
Stelle
278
Fork
97
Merge medio
18h 57m
PR unite (30g)
249

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-dirigible/dirigible

Tutte le issue di eclipse-dirigible/dirigible

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.