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

Readded binary .mo files #595

Merged
merged 1 commit into from
Oct 15, 2022
Merged

Readded binary .mo files #595

merged 1 commit into from
Oct 15, 2022

Conversation

contmp
Copy link
Contributor

@contmp contmp commented Oct 14, 2022

Last year with commit 079b2f0 .mo files have been excluded from repo with .gitignore which leads defacto to disabling all translations.

Although excluding binary in general is a good idea, this might not apply for reusable apps like django or celery.
As support for my opinion I like to point to the repos of django itself and drf:

rest_framework/locale/de/LC_MESSAGES
django/contrib/admin/locale/de/LC_MESSAGES

A alternative would be to compile the message during package installation e.g.
msgfmt --check-format -f -o django.mo django.po

That would be nice to follow the "no binary" approach but I haven't saw it in the wild for django apps yet, maybe because of depency issues.

In this pull request I readded the compiled .mo files, updated .gitignore and took some care of .po formatting

@auvipy if you are taking care of this request again: Sorry I didn't notice last years change earlier

@auvipy auvipy merged commit 6b67b24 into celery:master Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants