1
0
Fork
You've already forked cms
0

Internationalization with celemas/verba #58

Merged
ernstla merged 17 commits from feature/verba-i18n into main 2026年07月13日 18:58:08 +02:00
No description provided.
Add verba to requirements and link it into vendor
Some checks failed
ci / ci (push) Failing after 35s
ci / release (push) Failing after 0s
be028d608c
Remove conia gettext catalogs and reword locale comment
Some checks failed
ci / ci (push) Failing after 37s
ci / release (push) Failing after 0s
dd7b3e91e7
i18n hardcoded strings missed by the _() migration
Some checks failed
ci / ci (push) Failing after 37s
ci / release (push) Failing after 0s
abb429de6e
Add SchemaScanner for i18n schema extraction
Some checks failed
ci / ci (push) Failing after 37s
ci / release (push) Failing after 0s
69d80c5355
Harvest the translatable strings Cosray reads off schemas at render
time so i18n:sync sees them: node/collection labels and badges, field
labels, descriptions and option labels, and the navigation section,
link and collection names. It implements verba's Scanner by reflecting
the schema attributes and walking the booted navigation tree, mirroring
the runtime translation points so the extracted ids match what the
panel looks up.
Also route navigation names through __() (they were emitted raw) and
add Bootstrap::nodeClasses() to enumerate registered node types.
Adopt @celemas/verba runtime in panel
Some checks failed
ci / ci (push) Failing after 36s
ci / release (push) Failing after 0s
4196e6c678
Add per-user panel UI language
Some checks failed
ci / ci (push) Failing after 43s
ci / release (push) Failing after 0s
f7717d0ab0
The panel negotiates its UI language independently of the content
locales: user preference (new users.panel_locale column, migration
000000-000023), then config panel.locale, then the browser's
Accept-Language, then English. A sidebar switcher stores the choice
via POST {path.panel}/locale. Selectable languages are the locales
whose cosray and panel domains both ship a catalog file. Date columns
and previously hardcoded nav strings now follow the panel language.
Mirror Bootstrap::database(): the install namespace holds the schema
snapshot (init + seed), the default namespace the system update
migrations. Fresh databases initialize via --namespace install, then
apply updates as a second run; CI, README, and the recreate-db hint
now document the two-phase flow.
Remove verba repository
Some checks failed
ci / ci (push) Failing after 1m35s
ci / release (push) Failing after 0s
be553cad25
Use published celemas/verba 0.1.0 packages
All checks were successful
ci / ci (push) Successful in 3m42s
ci / build-and-release (push) Successful in 1m17s
ci / release (push) Successful in 0s
6fcadfd2c9
Switch from local workspace links to the released packages so CI can
resolve verba. The panel linked @celemas/verba via link:../../verba/js,
a sibling path absent from the cosray checkout, breaking svelte-check.
- composer: celemas/verba dev-main -> ^0.1.0 (Packagist)
- panel: @celemas/verba link:../../verba/js -> ^0.1.0 (npm)
ernstla deleted branch feature/verba-i18n 2026年07月13日 18:58:09 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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
cosray/cms!58
Reference in a new issue
cosray/cms
No description provided.
Delete branch "feature/verba-i18n"

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?