Skip to content

How to modify header text and values on POT files #794

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

Closed
Porrumentzio opened this issue Jun 16, 2021 · 2 comments
Closed

How to modify header text and values on POT files #794

Porrumentzio opened this issue Jun 16, 2021 · 2 comments

Comments

@Porrumentzio
Copy link

Porrumentzio commented Jun 16, 2021

The default text shows some default values (PROJECT, EMAIL@ADDRESS, PROJECT VERSION...) that I don't know how to change for my project.
I read the relevant part on Babel documentation but I don't still understand how should I run this? On pybabel extracting command? On messages.cfg file?

I would appreciate some help on this :)

@StanFromIreland
Copy link

See --project/--version/--copyright-holder etc in the docs.

This can be closed @akx

@akx
Copy link
Member

akx commented Mar 5, 2025

As documented, these can be set on the command line right now: pybabel extract --project=foo ...).

Given we now have some support for reading settings from TOML (#777, #1108), it would make sense to be able to set these as defaults in e.g. the pyproject.toml file for a project – but that's a discussion to be continued in #777 :)

@akx akx closed this as completed Mar 5, 2025
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

3 participants