Decide daw_i18n/v1 resource file location for daw-lua-common #47
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-lua-common#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Decide where daw_i18n/v1 resource files for daw-lua-common live, and
in what shape, before any error site in this library can reference a
resource_id.
Background
daw-project-standard.json documents a general per-module convention
(
i18n/en.lua,i18n/de.lua) for the older berhtjan-core label model({en=..., de=...} contribution labels). Whether that convention
applies as-is to daw_i18n/v1 resource files is not yet decided.
Discovery/collection of daw_i18n/v1 resources across independently
developed modules is explicitly out of scope of the daw_i18n/v1
contract itself and remains an open architecture question.
daw-lua-common is a library, not a host program with a
contribution.json/module structure -- the existing per-module i18n/
convention was designed for domain/UI modules, not for a shared
library with ~171 error sites spread across 37 Lua files. Whether
that means one file for the whole library, one file per source file,
or something else is exactly what this issue needs to settle.
Scope
owned by daw-lua-common (single library-wide file vs. per-file vs.
other split)
daw_i18n/v1 (language="en", canonical=true)
cross-module discovery/collection question -- daw-lua-common can
fix its own file location even before that broader question is
resolved, as long as the shape is daw_i18n/v1-conformant
Acceptance criteria
(daw-lua-common README or a docs/ note)
DAW-wide discovery/collection question
Blocks
DAW/daw-lua-common#48 (resource_id for all daw_error/v1 sites -- filed
as a separate issue, blocked by this one)
Related
DAW/daw-contracts daw_i18n/v1 (contract.json, specification.md)
Decision: one i18n/ directory per repo root (daw-lua-common/i18n/en.lua, de.lua), regardless of internal submodule split. Same convention as host programs and modules -- no separate per-submodule i18n dirs, even if daw-lua-common is internally split further.
Host-side text override (host overrides a lib/module resource_id) is a related but separate topic, filed as DAW/daw-modul-berhtjan-core#13 .