Hello,
We've three languages defined in out multi-tenant setup.
Is it possible to disable one of the languages for a single given tenant?
There is no option in the menu :
2 Answer(s)
-
0
hi
According to the design of the framework, the language cannot be disabled for specific tenants
You can implement it yourself, such as storing the enabled/disabled language in the tenant's settings, and then hide the language in the UI.
-
0
If you populate the AbpLanguages table in the Tenant database and make sure you populate the TenantId column, then you'll be able to disable specific languages just for that tenant (the Edit and Delete options will appear in the drop down you provided a screenshot of).
You may need to clear the AbpZeroLanguages cache after doing this, I cannot recall.
We have 12 tenants in our instance and use this approach successfully.