Skip to content

Add a tool to detect possible unused language keys and remove those which can be confirmed #34737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lunny
Copy link
Member

@lunny lunny commented Jun 16, 2025

A new tool to detect unused language keys has been introduced. How to use

go run build/clean-locales.go

This PR also fixes all unused and misused language keys.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 16, 2025
@lunny lunny force-pushed the lunny/remove_unused_translation_key branch from 183f1cd to 760bf0d Compare June 16, 2025 21:48
@lunny lunny marked this pull request as ready for review June 16, 2025 21:48
@lunny lunny added this to the 1.25.0 milestone Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code modifies/internal modifies/translation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants