8000 Add tests for `Tools/i18n/msgfmt.py` · Issue #127488 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Add tests for Tools/i18n/msgfmt.py #127488

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
tomasr8 opened this issue Dec 1, 2024 · 1 comment
Closed

Add tests for Tools/i18n/msgfmt.py #127488

tomasr8 opened this issue Dec 1, 2024 · 1 comment
Assignees
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@tomasr8
Copy link
Member
tomasr8 commented Dec 1, 2024

Feature or enhancement

Proposal:

msgfmt (under Tools/i18n) is, alongside pygettext, a very useful tool for handling translations. Unfortunately, it has some issues that make it challenging to use, for example: #85012.

I would like to help fixing these issues, however msgfmt currently has no tests. I think before we start fixing anything, we should add at least some basic tests.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@tomasr8 tomasr8 added type-feature A feature request or enhancement tests Tests in the Lib/test dir labels Dec 1, 2024
@tomasr8 tomasr8 self-assigned this Dec 1, 2024
srinivasreddy added a commit to srinivasreddy/cpython that referenced this issue Dec 2, 2024
srinivasreddy added a commit to srinivasreddy/cpython that referenced this issue Dec 2, 2024
srinivasreddy added a commit to srinivasreddy/cpython that referenced this issue Dec 2, 2024
srinivasreddy added a commit to srinivasreddy/cpython that referenced this issue Dec 2, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 16, 2025
(cherry picked from commit 361083b)

Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 16, 2025
(cherry picked from commit 361083b)

Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
@serhiy-storchaka
Copy link
Member

Thank you for your work @tomasr8.

serhiy-storchaka pushed a commit that referenced this issue Feb 16, 2025
…130181)

(cherry picked from commit 361083b)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
serhiy-storchaka pushed a commit that referenced this issue Feb 16, 2025
…130182)

(cherry picked from commit 361083b)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement
Projects
Status: Done
Development

No branches or pull requests

2 participants
0