WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.35k stars 970 forks source link

Remove empty stale glossaries #11168

Open nijel opened 4 months ago

nijel commented 4 months ago

Describe the problem

The glossary languages are automatically added when a new translation language is used. There is no logic in place to remove such automatically added glossary languages when they are no longer needed.

Describe the solution you would like

Cleanup of not needed empty glossaries should happen automatically in sync_glossary_languages and when translations are removed.

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

No response

github-actions[bot] commented 4 months ago

This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

You can learn about how to get started in our contributors documentation.

AmanSal1 commented 4 months ago

@nijel Can I give it a shot ?

nijel commented 4 months ago

Sure, you're welcome.

AmanSal1 commented 4 months ago

@nijel Is this the right documentation to start ? https://docs.weblate.org/en/latest/contributing/start.html

Additionally I am on windows so will the installation work or should I use docker ?

nijel commented 4 months ago

Weblate does not support Windows (or at least we're not testing the support), so using Docker is recommended.

AmanSal1 commented 3 months ago

@nijel I have created a pull request can you review it ?