Skip to content

feat(navigation): localize navigation nodes via LocalizedMessagesProvider - #116

Merged
marioserrano09 merged 1 commit into
mainfrom
feat/115-navigation-localized-labels
Sep 30, 2026
Merged

marioserrano09 merged 1 commit into
mainfrom
feat/115-navigation-localized-labels

Conversation

@marioserrano09

Copy link
Copy Markdown
Contributor

Summary

  • NavigationNode resolves name (key = virtual path) and description (key = virtual path + .description) through the registered LocalizedMessagesProviders (priority order, first non-null wins, null classifier so the provider decides grouping). No ZK dependency; locale still comes from Messages.getDefaultLocale(), so per-tenant LocaleProviders apply. Failing providers are skipped.
  • ApplicationMetadataController no longer caches application metadata and global actions (locale-dependent); entities metadata stays cached.

Closes #115

Notes

  • Providers that require a classifier (e.g. dynamia-erp's LocalizacionMessagesProvider) must derive it from the key when it is null.
  • longName and icon are not localized (out of scope).

Test plan

  • NavigationLabelsTest (provider ordering, fallback, failing provider) and existing navigation tests pass
  • ApplicationMetadataControllerTest passes
  • Verify against dynamia-erp with a tenant-specific locale

🤖 Generated with Claude Code

https://claude.ai/code/session_01KmGjWQL17XEG8y8UTMwFLy

…Provider

NavigationNode now resolves name and description via the registered
LocalizedMessagesProvider chain (null classifier, key = virtual path), so the
REST navigation tree honors provider-based translations without ZK. The
metadata controller no longer caches locale-dependent application metadata and
global actions; entities metadata stays cached.

Refs #115

Co-Authored-By: Claude Code <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KmGjWQL17XEG8y8UTMwFLy
@marioserrano09
marioserrano09 merged commit 0e0ec45 into main Sep 30, 2026
1 check passed
@marioserrano09 marioserrano09 mentioned this pull request Sep 30, 2026
1 task done
marioserrano09 added a commit that referenced this pull request Oct 1, 2026
* chore: bump version to 26.10.0

Includes navigation multi-desktop support (#112), inline ZK embed (#114)
and localized navigation labels (#116).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* chore(cli): bump cli.properties versions to 26.10.0

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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.

Localize navigation tree DTO in app metadata API via LocalizedMessagesProvider

1 participant