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

Add support for validation of fluent resources to cargo-i18n command line tool #31

Open
7 tasks
kellpossible opened this issue Aug 23, 2020 · 0 comments
Open
7 tasks
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kellpossible
Copy link
Owner

kellpossible commented Aug 23, 2020

Ideas for validations:

  • Check that all languages are able to be loaded
  • Check for duplicate keys
  • Check that args match across different languages for the same message.
  • Report for the percent translated.
  • Check that the message format parses correctly
  • Check for messages in translated languages which are not present in the fallback language, and are probably redundant.
  • For projects exclusively using the fl!() macro, a check to see when messages are no longer being used (and an option to ignore the warning based on a special comment keyword on the message) for exceptions where the macro isn't used.
@kellpossible kellpossible added the enhancement New feature or request label Aug 23, 2020
@kellpossible kellpossible added the help wanted Extra attention is needed label Sep 13, 2024
mrtryhard added a commit to mrtryhard/cargo-i18n that referenced this issue Nov 8, 2024
paholg added a commit to paholg/gam that referenced this issue Nov 13, 2024
This was designed to perform validations, but it only currently works
for gettext and not fluent. It's also failing to build in Windows in CI.

Once there's fluent support, we'll likely want to revisit this:
kellpossible/cargo-i18n#31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant