Design daw_i18n/v1 text override for host programs #13

Open
opened 2026-08-14 13:19:46 +02:00 by michael · 1 comment
Owner

Goal

Design how a host program can override a daw_i18n/v1 text
(from a library or module) with its own text for a given resource_id.

Background

Raised while deciding DAW/daw-lua-common#47 (i18n resource file
location). Text override is a special case of the still-open
daw_i18n/v1 discovery/collection question (deliberately kept out of
the daw_i18n/v1 contract itself) and belongs into the same
architecture work as language selection/loading in berhtjan-core.

Scope

  • How a host declares an override for a specific resource_id
  • Where override files live and how they are loaded relative to the
    library/module's own i18n/ resources
  • Interaction with source_hash staleness detection

DAW/daw-lua-common#47

## Goal Design how a host program can override a daw_i18n/v1 text (from a library or module) with its own text for a given resource_id. ## Background Raised while deciding DAW/daw-lua-common#47 (i18n resource file location). Text override is a special case of the still-open daw_i18n/v1 discovery/collection question (deliberately kept out of the daw_i18n/v1 contract itself) and belongs into the same architecture work as language selection/loading in berhtjan-core. ## Scope - How a host declares an override for a specific resource_id - Where override files live and how they are loaded relative to the library/module's own i18n/ resources - Interaction with source_hash staleness detection ## Related DAW/daw-lua-common#47
Author
Owner

Open question: whether the override mechanism belongs into berhtjan-core itself or into the adapter layer (core vs. adapter placement, analogous to the fs.handle -> fs facade pattern in daw-error-standard.md). Not decided yet -- part of the design scope of this issue.

Open question: whether the override mechanism belongs into berhtjan-core itself or into the adapter layer (core vs. adapter placement, analogous to the fs.handle -> fs facade pattern in daw-error-standard.md). Not decided yet -- part of the design scope of this issue.
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
DAW/daw-modul-berhtjan-core#13
No description provided.