Skip to main content
Browse Documentation

Example create roles for multilingual content

Created by Contensis product team, last modified by r.bromley on 29 Apr 2020

Managing content in multiple languages can easily bring on a headache for anyone responsible for content production. Hopefully, by the end of this article you'll understand how to setup the roles of authors, translators and approvers to manage your multilingual content.

We'll set up roles to support the following scenario:

  • Authors that can create content in the core business language, but not publish or delete it.
  • In the case of content that requires translation, the translators can translate the content for the languages they support, but never modify the default language.
  • The approvers are the only people on the team who can publish content – they have to approve the content before it is published.

If you are following along with this article, we assume that you have a project with at least one content type that has an additional supported language.

Roles multilingual content type

Creating the roles

We'll start the process by creating the author role. Head over to the roles screen by selecting roles from the Content types and entries drawer. If you don't see the roles option in the menu, you'll need to ask a system administrator to add you to the Roles Administrator group.

In the roles listing screen, select New role. Enter the name for the role. In this example we'll use the name News authors. You can provide an optional description to make it clear what the role is for.

A screenshot of the a new role being created

With the role details populated, press Create. The roles builder will be displayed.

A screenshot of the roles builder


We can now begin the process of assigning the permissions for the role. Pressing Add a permission will add a new permission to the role and the permissions panel will be displayed.

Select the content type that you want to set permissions for from the dropdown list, in this case the News content type.

A list of events will be displayed following the selection of the content type. Permissions are explicitly set, by default permissions for events are switched off. Toggling the permission turns it on. For the author content type we'll enable the following permissions:

Create Save Submit / revoke Approve / decline Delete Language
✅ Yes ✅ Yes ✅ Yes ❌No ❌No Default English - Great Britain (en-GB)

As our content type has additional supported languages set up, we choose English as a supported language for the role.

A screenshot of the roles editor assigning an authors permission
A screenshot of the roles editor assigning an authors permission


With the permissions now set up for the News authors, we'll press Save and begin to assign users who can carry out the actions assigned to the role.

Selecting the Users and groups tab will display two empty lists. One for users and the other groups. For this example we'll type the name of a user in the users search box to add to the role.

A screenshot of the roles editor assigning a user

With the user assigned, and role permissions set we'll press Save and move on to creating the next role.

The translator

Roles multilingual translator


We can repeat the process for the translator, but this time we'll select a different language than the default, choosing French - France (fr) but keeping the same event permissions, and choose a user that is responsible for the French content.

CreateSaveSubmit / revokeApprove / declineDeleteLanguage
✅ Yes✅ Yes✅ Yes❌No❌NoFrench  (fr)

A multi language approver

Roles multilingual approvers.

The approver role has a completely different set of permissions, but the process is the same. In the case of an approver, we'll set the permissions of Approve/decline and Delete and choose both English and French languages. The user that we assign to the role won't be able to create entries, save any changes, or submit the content for approval.

Create Save Submit / revoke Approve / decline Delete Language
❌No ❌No ❌No ✅ Yes ✅ Yes Default English - Great Britain (en-GB)
French  (fr)

This role assumes that an approver understands both English and French content, however you could setup alternative roles to separate language approval.

Testing the roles

Once the roles have been set up, you should have following roles defined:

  • News author – can create, update and submit English news content.
  • News translator – can create, update and submit English content, but not update or create content in the default language of the news content type.
  • News approver (multilingual) – can Approve/decline and delete content in English and French for the news content type.

The Contensis interface will adapt to the permissions that are assigned to the role for the logged-in user.

The following screenshots provide a snapshot of how the interface will be displayed for the different users that have been assigned to the role.

Author

Authors listing view

Roles multilingual listing

Authors editor view

A screenshot of the entry editor showing the actions for a news author

Translator

Translators listing view

Translator listing view

Translators editor view

Translator editor view

Approver

Approvers listing view

Roles multilingual listing

Approvers editor view

Multilingual approver editor view

Summary

We've created three roles that give different permissions to the same content type that separate the responsibility of producing multilingual news content.

These roles could be easily be expanded to support additional content types or different permissions. When experimenting with these roles for the first time we recommend assigning users that you can use to test the role to prevent any unauthorised access.

For a detailed breakdown of the stages of creating a role, take a look at our roles and permissions articles.

Necessary Cookies
These cookies are necessary for this website to function correctly. They are set when you perform certain actions on the site, such as creating an account, logging in, changing your privacy preferences or submitting a form. You can block these cookies in your browser, but this will stop parts of the site from working properly.
Functional Cookies
These cookies allow the website to provide extra functionality and more personalised experiences. They may be set by us or by third party providers whose services we have added to our pages. If you choose not to allow these cookies, these services may not work correctly.
Analytical Cookies
These cookies record anonymous data on how visitors use our website to help us monitor how well our website works. This data includes how many people have looked at specific pages, how long visitors stay on the site, and what devices they use. We use this data to identify changes that we could make to improve your experience and make our website more efficient.
Marketing Cookies
We set some cookies so you are shown more relevant marketing content. These include cookies from third-party advertising networks to show you different adverts on their services if you have previously visited our site. If you choose not to allow these cookies, you may experience less relevant advertising on other sites.