Service Layer medium complexity Shared Component frontendbackend
1
Dependencies
0
Dependents
2
Entities
0
Integrations

Description

Next.js server-side context provider injected into the admin portal layout that resolves all UI labels for the requesting organization before rendering. Ensures every server-rendered page uses the correct org-specific vocabulary without client-side label flicker.

Feature: Custom Terminology

terminology-context-provider

Responsibilities

  • Load the active terminology map for the authenticated org during SSR
  • Provide resolved labels to all child components via React context
  • Fall back to platform default labels for any key not overridden by the org
  • Expose a useTerminology() hook for consuming labels in client components

Interfaces

TerminologyProvider({ orgId, children })
useTerminology()
resolveLabel(key)
resolveLabels(keys[])
getTerminologyMap()

Relationships

Dependencies (1)

Components this component depends on

Related Data Entities (2)

Data entities managed by this component