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 pybabel tasks to the build hook #900

Open
goessebr opened this issue Jul 24, 2024 · 0 comments
Open

Add pybabel tasks to the build hook #900

goessebr opened this issue Jul 24, 2024 · 0 comments

Comments

@goessebr
Copy link
Contributor

The .mo files are now checked into the GitHub repository. However, we could consider leaving them out of the repository.

When building a wheel, we want to ensure that the .mo files are present, so we need to add the pybabel commands to the build hook. The commands can be found in the documentation: Frontend Development.

For local development, pip install -e . will trigger the build hook and ensure updated .mo files.

I don't think we need additional documentation. The pybabel compile command in the General Installation section should be sufficient to have translations present when developing this project.

Scope

  • remove mo files out of github
  • add mo files to gitginore
  • add pybabel tasks to build hook
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