cancel
Showing results for 
Search instead for 
Did you mean: 

Limiting localized editor to only one language

Former Member
0 Kudos

Hi Experts,

is there a configuration inside the cockpit.xml to limit the localized editor inside cockpitng to only one language?

Cheers, Daniel

Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Kudos

Hi ,

Localized editor displays values for each readable locale of a user (configurable with configuration for cockpit-locales component and QuickToggleLocale widget in top-right corner by default). There is no way of restricting it ootb.

Cheers, Jacek

Former Member
0 Kudos

Hi ,

so there is no way to disable languages? Like for example we dont need the English locale in general also for the admin. So disabling it inside the cockpit-locales doesnt take any effect especially in the QuickToggleLocale widget it doesn't seem to take any effect when I'm setting the locales inside the component="available-locales".

You have any idea how to disable it?

former_member625836
Active Contributor
0 Kudos

You could create a general BackofficeRole with readable locales restricted to those that you need and assign it to all users. Didn't test it, but should work in my opinion.

Configuration for QuickToggleLocale is only meant to define which locales should be selected by default (not visible at all).

Former Member
0 Kudos

Thanks for your reply 🙂

We managed it with the QuickToggleLocale thingy. Just had to put in the correct iso code.

But your approach should work as well.

Cheers

Answers (0)