Skip to content
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

Dedicated i18n audit command #167

Open
swissspidy opened this issue Jun 27, 2019 · 1 comment
Open

Dedicated i18n audit command #167

swissspidy opened this issue Jun 27, 2019 · 1 comment

Comments

@swissspidy
Copy link
Member

Looking at #39 again, I feel like it might be easier to have a dedicated command for the audit part, e.g. wp i18n audit.

Then make-pot doesn't have to deal with this, and we can have all the different output formats that we need. Also, it makes it easier to add further audits.

For example, one audit that I could think of is string similarity. If there are two strings which are quite similar, but only different in casing or punctuation, it could suggest merging the strings. Levenshtein distance alone might work for that.

@swissspidy
Copy link
Member Author

Such a command could also include the checks from https://github.com/ePascalC/CheckPluginForTranslation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant