Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@claudep
Copy link
Member

@claudep claudep commented Jan 16, 2020

@claudep
Copy link
Member Author

claudep commented Jan 18, 2020

@uri-rodberg Any chance to test this code?

@uri-rodberg
Copy link
Contributor

@uri-rodberg Any chance to test this code?

@claudep It seems that this PR fixes what is not working for Speedy Net in Django 2.2:

Speedy Net with Django==2.2.9
Speedy Net with Django==2.2.9 + This PR included

I still have to check more, but it seems that everything in Speedy Net works with this PR.

If this PR is accepted, will it be possible to apply it to Django 2.2 as well?

Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Claude.

This looks good to me. I follow the discussion on the ticket so far, and then I have to admit to getting lost at the end. As I understood it though this seems to be the kernel of what's at stake.

Do you want me to harass for more testing? Or are we happy with Uri's feedback?

Do we need an update here: https://docs.djangoproject.com/en/2.2/topics/i18n/translation/#pluralization β€” in particular the last Note was mentioned on the ticket.

Thanks for your work!

@claudep
Copy link
Member Author

claudep commented Jan 22, 2020

Thanks for reviewing! As for more testing, I would much appreciate a review by @nijel, the initial reporter and an i18n expert.
And of course, the note about "Plural form and po files" definitely needs to be updated too! A release note would also be needed.

Copy link

@m-aciek m-aciek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am adding comments about two fragments, one of them may be a bug.

@nijel
Copy link
Contributor

nijel commented Feb 2, 2020

I've finally got to testing this and I can confirm it works fine for Weblate. Looking at the code it also looks good. Thanks!

Has this chance to land in 2.2?

@uri-rodberg
Copy link
Contributor

@uri-rodberg Any chance to test this code?

@claudep Do we need to test Speedy Net again? I see you changed this PR after my test.

@claudep
Copy link
Member Author

claudep commented Feb 2, 2020

@claudep Do we need to test Speedy Net again? I see you changed this PR after my test.

No, it was a minor thing, no need to re-test.

Has this chance to land in 2.2?

I'm afraid not.

@uri-rodberg
Copy link
Contributor

Any update for this PR? @carltongibson

Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's get this in. πŸ‘

Rebased and adjusted the release notes for backport to 3.0 and 2.2.

Thanks for the work all!

@carltongibson carltongibson force-pushed the 30439 branch 3 times, most recently from 4f99236 to e5b7b93 Compare March 10, 2020 12:03
…age.

Thanks to Michal ČihaΕ™ for review.
@carltongibson carltongibson merged commit e3e48b0 into django:master Mar 10, 2020
@claudep claudep deleted the 30439 branch March 10, 2020 16:11
@uri-rodberg
Copy link
Contributor

Thank you for accepting this PR and applying it to Django 2.2 and 3.0 too.

nijel added a commit to WeblateOrg/weblate that referenced this pull request Apr 1, 2020
@uri-rodberg
Copy link
Contributor

Hi, I just want to say that I upgraded Django to 2.2.12 in Speedy Net and then upgraded again to 3.0.5, and everything works as expected. I didn't change anything in our translation files and they are still using the old plural forms formula like before ("Plural-Forms: nplurals=2; plural=(n != 1);\n").

@claudep
Copy link
Member Author

claudep commented Apr 12, 2020

Thanks for the feedback!

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.

6 participants