Infrastructure low complexity Shared Component mobile
0
Dependencies
2
Dependents
2
Entities
0
Integrations

Description

Runtime adapter that resolves dynamic organization-specific field labels and terminology for the profile screens, reading from the organization labels configuration fetched during session initialization. Prevents hardcoded field names and ensures that each organization's custom terminology (e.g., custom title for 'Role') is applied consistently across all profile UI elements.

Feature: Profile Data & Settings

org-labels-adapter

Responsibilities

  • Resolve field label strings by key against the active organization's terminology map
  • Provide fallback to default English labels when org-specific label is absent
  • Expose synchronous label lookup for use inside Flutter widget build methods
  • Cache resolved labels per session to avoid repeated lookups

Interfaces

getLabel(key)
getLabelOrDefault(key, defaultLabel)
loadLabelsForOrg(orgId)
clearLabelsCache()
hasCustomLabel(key)
getAllLabels()

Relationships

Dependents (2)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component