A discussion is taking place about the translation of default group names in the category edit dialog. claas has identified an issue where the group names (everyone, admins, moderators, staff) are not consistently translated, and has provided images to illustrate the problem.
claas has also dug deeper into the issue and found that:
The category details come from app/controllers/categories_controller.rb#show
Group names are translated in app/models/group.rb
The everyone group is a special group
The security tab in the category edit dialog comes from app/assets/javascripts/discourse/templates/components/edit-category-security.hbs
claas suggests that the solution could be to have the CategoriesController return permissions with two keys group_name and group_name_localized.
Thamer is also experiencing issues with translating the “Staff” group and related notifications, and is looking for a solution.
When creating or editing a category, the default group names (everyone, admins, moderators, staff) should be translated. However, sometimes this is not the case:
1. Create a new category Test (without changing any permission):
Group name everyone (jeder) is translated in permission list. Group names are not translated in group selection (e.g. staff should be Mitarbeiter).
Maybe the best solution would be to have the CategoriesController return permission with two keys group_name and group_name_localized? We would probably need to make sure that group_name_localized is equal to the group_name for custom/user-created groups.
También estoy intentando traducir en mi página todas las notificaciones y todo lo relacionado con el grupo “Staff”. Podría traducir el nombre del grupo, pero no exactamente la palabra “staff” en otras frases alrededor de mi foro.