Skip to content

Support external workspace root and translation context#156

Merged
AlexeyMz merged 1 commit into
masterfrom
outer-root-and-i18n
May 24, 2026
Merged

Support external workspace root and translation context#156
AlexeyMz merged 1 commit into
masterfrom
outer-root-and-i18n

Conversation

@AlexeyMz
Copy link
Copy Markdown
Member

  • Allow to define WorkspaceRoot and TranslationProvider as parent to the Workspace component so they can be shared between multiple workspaces or used outside the workspace itself.
  • Deprecate translations, useDefaultTranslation and selectLabelLanguage props on Workspace component in favor of wrapping the workspace in TranslationProvider with DefaultTranslation.
  • Remove deprecated Translation.formatIri() method (use DataLocaleProvider.formatIri() instead).

* Allow to define `WorkspaceRoot` and `TranslationProvider` as parent to the `Workspace` component so they can be shared between multiple workspaces or used outside the workspace itself.
* Deprecate `translations`, `useDefaultTranslation` and `selectLabelLanguage` props on `Workspace` component in favor of wrapping the workspace in `TranslationProvider` with `DefaultTranslation`.
* Remove deprecated `Translation.formatIri()` method (use `DataLocaleProvider.formatIri()` instead).
@AlexeyMz AlexeyMz force-pushed the outer-root-and-i18n branch from d5d4840 to 95b2c19 Compare May 24, 2026 21:37
@AlexeyMz AlexeyMz merged commit 11a7d30 into master May 24, 2026
4 checks passed
@AlexeyMz AlexeyMz deleted the outer-root-and-i18n branch May 24, 2026 22:13
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.

1 participant