Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
We have started using DbLocalizationProvider to allow editors to edit strings in their websites. And we're using static classes with [LocalizedResource] attributes to define translation strings.
But in the Optimizely UI, I am presented with duplicated entries for each translation:
This looks a bit confusing for the editors. Is there a way to get rid of the bottom entry?
Here's how we configure DbLocalizationProvider:
services .AddDbLocalizationProviderAdminUI(opts => { opts.ShowInvariantCulture = false; opts.ShowHiddenResources = false; opts.DefaultView = ResourceListView.Table; opts.AccessPolicyOptions = (builder) => builder.AddRequirements(new RolesAuthorizationRequirement(new[] { RoleNames.WebAdmins, RoleNames.CmsAdmins, RoleNames.Administrators })); }) .AddOptimizelyAdminUI();