Skip to content

[FEATURE] Discover project site label files - #2

Merged
benjaminkott merged 2 commits into
TYPO3:mainfrom
NamelessCoder:feature/global-site-label-discovery
Sep 2, 2026
Merged

[FEATURE] Discover project site label files#2
benjaminkott merged 2 commits into
TYPO3:mainfrom
NamelessCoder:feature/global-site-label-discovery

Conversation

@NamelessCoder

Copy link
Copy Markdown
Contributor

typo3_label_lookup now reads XLF files below config/sites beside the installation result and recursively follows the package directories TYPO3 searches. Each reported resource carries diagnostics for its naming convention and the static source paths that reference it; a conventional site-set labels.xlf records its adjacent config.yaml as an implicit reference.

An unreferenced resource stays searchable and gains a warning. A translation domain can be assembled at runtime, so excluding the file would turn an incomplete static scan into a claim about runtime use.

R-ANS-038 and D-ANS-127 carry the contract and reasoning.

NamelessCoder and others added 2 commits September 2, 2026 10:17
typo3_label_lookup now reads XLF files below config/sites beside the installation result and recursively follows the package directories TYPO3 searches. Each reported resource carries diagnostics for its naming convention and the static source paths that reference it; a conventional site-set labels.xlf records its adjacent config.yaml as an implicit reference.

An unreferenced resource stays searchable and gains a warning. A translation domain can be assembled at runtime, so excluding the file would turn an incomplete static scan into a claim about runtime use.

R-ANS-038 and D-ANS-127 carry the contract and reasoning.
D-ANS-127 was taken by main on 2026-09-01. bin/cli decisions:renumber
moved this one to D-ANS-134 and rewrote the attributes and the indexes.
@benjaminkott
benjaminkott force-pushed the feature/global-site-label-discovery branch from e751830 to bc8a2df Compare September 2, 2026 08:29
@benjaminkott
benjaminkott merged commit 39aac53 into TYPO3:main Sep 2, 2026
4 checks passed
@NamelessCoder
NamelessCoder deleted the feature/global-site-label-discovery branch September 2, 2026 08:46
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.

2 participants