# Limit Translator use to certain groups only

**URL:** https://meta.discourse.org/t/limit-translator-use-to-certain-groups-only/252136
**Category:** Support
**Tags:** translator
**Created:** [January 18, 2023, 9:58am UTC](https://meta.discourse.org/t/limit-translator-use-to-certain-groups-only/252136 "2023-01-18T09:58:09Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 18, 2023, 3:39pm UTC](https://meta.discourse.org/t/limit-translator-use-to-certain-groups-only/252136/2 "2023-01-18T15:39:53Z")

</div>

There’s not currently a way to limit a plugin to only a specific group, it could be added as a feature to any individual plugin, but would take a little work.

Without adding functionality to the existing plugin, this could be done within a theme…

We have a theme component that adds all of a user’s groups to the `body` tag: [CSS Classes for Current User's Groups](https://meta.discourse.org/t/css-classes-for-current-users-groups/226068)

Using this you could hide the translator button for all users that aren’t in a specific group:

```css
body:not(.group-example) {
  .post-controls .translate {
    display: none; 
  }
}

```

In that example, the translate button below a post would be hidden for anyone not in the “example” group.

A savvy visitor could discover the translate button in their browser’s inspector, so it’s not as comprehensive as a solution directly in the plugin, but it might work well enough for your case.

---

_[View the full topic](https://meta.discourse.org/t/limit-translator-use-to-certain-groups-only/252136)._
