Hi everyone,
We have a multi-tenant setup where each site supports a different subset of languages. The entire system currently supports 7 languages, and Directus shows all 7 in the translation fields by default.
However, for each site, we want to restrict the translation fields to only show the specific languages supported by that site. For example, if a site supports only 3 languages, the translation field should only display those 3, not all 7.
Is there a way to configure Directus to limit the languages shown per site or tenant in a translation field?
Thanks in advance!
The translations interface itself doesn’t have built-in support for limiting languages per tenant.
The only way I can think to accomplish this would be to configure it at the permissions level - you’d need to set up your permissions so that different languages aren’t available to users based on their current tenant setup.
This would require some careful planning of your roles and permissions structure, but it should give you the tenant-specific language control you’re looking for.
You might also want to consider creating a custom interface extension if you need more granular control over the language options based on other factors beyond just user permissions.