diff --git a/group/classes/output/user_groups_editable.php b/group/classes/output/user_groups_editable.php
index <HASH>..<HASH> 100644
--- a/group/classes/output/user_groups_editable.php
+++ b/group/classes/output/user_groups_editable.php
@@ -75,7 +75,7 @@ class user_groups_editable extends \core\output\inplace_editable {
         $options = [];
 
         foreach ($coursegroups as $group) {
-            $options[$group->id] = $group->name;
+            $options[$group->id] = format_string($group->name, true, ['context' => $this->context]);
         }
         $this->edithint = get_string('editusersgroupsa', 'group', fullname($user));
         $this->editlabel = get_string('editusersgroupsa', 'group', fullname($user));
MDL-<I> core_group: add support for multi-lang to groups editable

Part of MDL-<I>.