Can't change names of trust_level groups?

Is it possible to change the names of groups?

I hcanged groups.default_names.trust_level_2 to “members”. It shows as changed in /admin/customize/site_texts, but that change isn’t reflected on the admin/groups page.

@tgxworld what is the verdict here?

1 Like

A group name is equivalent to the username of a user so it can’t be changed.

The only place that translation is used is in

https://github.com/discourse/discourse/blob/master/app/models/group.rb#L162

but I’ll need to dig further to figure out what the translation is used for.

3 Likes

Actually automatic group names can be changed by changing the default locale and it has always been “secretly?” supported. It is just that we didn’t implement the feature to remap group mentions upon a group name changed when the group mentions feature was implemented.

https://github.com/discourse/discourse/pull/4662/commits/706b4f6b9faf1f820a294e83f82b0b5a5dba0475

4 Likes