v14: Localization of values in manifests ?
# package-development
k
Hi, any info on localizing values that might be defined in a manifest ? e.g the label name for something in a workspace view.
Copy code
ts
{
  type: 'workspaceView',
  alias: 'time.workspace.settings',
  name: 'setting view',
  meta: {
     icon: 'icon-settings',
     pathname: 'settings',
     label: 'settings'
  },
(so it would be the 'meta->label' value here)
j
will be out in the next beta (hopefully also today)
m
I have a POC somewhere where I'm creating a new UmbLocalizationController() in the entry point (using the host element as ctor parameter) and then localize the labels before adding them to the manifest. Of course, better with a out of the box solution.
3 Views