Language per user role, how can I achieve this?


I have a multisite with Buddypress intended for two languages. Therefore I have translation files for each language, and this for the theme and for the plugins (nl_NL , fr_FR) in the folders languages_themes and languages_plugins.

Now I have created two user roles, namely Nl and FR.

If a user logs in with user role ‘NL’, the user should see the translated site from nl_NL and if the user logs in with ‘FR’, it should see fr_FR.

How can I achieve this?

Thanks a lot

Erwin Van den Bogaert 2 months 0 Answers 7 views 0

Leave an answer