Provide a way to disallow users to add languages #16889
-
Describe the problemIt happened the second time today:
After it happened for the 1st time, I had researched for disabling it with permissions, but the default team cannot be changed and there do not seem to be 'deny' permissions, so I just changed the UI, so it doesn't show the "+" button at the top. Now, I discovered that there are more "Add language" buttons and I'm not sure whether that's all or whether there are even more was for adding a language. Solution brainstormA way is needed for preventing regular/default users from adding new languages. I apologize when there's an existing way to do this, which I just don't see. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Add language for translation permission is included in default user permissions. More info can be found at https://docs.weblate.org/en/latest/admin/access.html. |
Beta Was this translation helpful? Give feedback.
-
|
So I know that in the component settings under "Files", there is an "Adding new translation" option. Where you can disable this on a component by component basis. However, I am aware that it says "The language got added to all components in Weblate"... I haven't had the chance to use multiple components, so I'm not sure how adding a language behaves with multiple components but maybe it's worth a try Alternatively to remove the permission, a somewhat workaround is to go to the team settings in the site-wide settings And choose "Translate" instead of "Power User" It's not the fine grained permission system you probably hoped for, but at least for now, it gets rid of the "Add new translation" permission https://docs.weblate.org/en/latest/admin/access.html#list-of-built-in-roles and I think it's a good Role for users in general... And yes, I am also searching for a more fine grained system, but I haven't found it yet... |
Beta Was this translation helpful? Give feedback.




So I know that in the component settings under "Files", there is an "Adding new translation" option. Where you can disable this on a component by component basis.
However, I am aware that it says "The language got added to all components in Weblate"... I haven't had the chance to use multiple components, so I'm not sure how adding a language behaves with multiple components but maybe it's worth a try
Alternatively to remove the permission, a somewhat workaround is to go to the team settings in the site-wide settings
And choose "Translate" instead of "Power User"
It's not the fine grained permission system you probably hoped for, but at least for now, it gets rid of the "Add new transla…