-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translation] Added Crowdin Translation Provider #40947
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
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this 👍
src/Symfony/Bundle/FrameworkBundle/Resources/config/translation_providers.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/phpunit.xml.dist
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Exception/UnsupportedSchemeException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Exception/UnsupportedSchemeException.php
Outdated
Show resolved
Hide resolved
@OskarStark thanks for the review 👍 |
It is ready for me for a review 🙂 |
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
@stof thanks for the review 👍 |
@OskarStark @stof, all comments have been addressed except the one related to the concurrency features of |
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
@stof @welcoMattic I've addressed all the comments. It looks ready for another review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some important comments about loops not being necessary, but this is near to look good to me :+1 :
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProviderFactory.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php
Outdated
Show resolved
Hide resolved
@welcoMattic I've addressed all your recent comments. Replied and not resolved two of them - please take a look and resolve if ok 🙂 P.S. Failed appveyor build seems unrelated to my changes. |
Thank you @andrii-bodnar. |
This PR was submitted for the 5.4 branch but it was squashed and merged into the 5.3 branch instead. Discussion ---------- [Translation] Introduce Translation Providers Docs for symfony/symfony#38475, symfony/symfony#40926, symfony/symfony#40927, and symfony/symfony#40947 Ready for first review, but I'm not sure that I've written documentation in the right and all required places. ATM, Translation Providers Bridges packages doesn't exists, so Flex recipes are not created yet. Commits ------- 943a63f [Translation] Introduce Translation Providers
To follow up on #38475, this PR adds Crowdin Provider.
This provider was removed a few weeks ago from the Translation Providers feature by @welcoMattic.
We discussed all the recent changes made on
ProviderInterface
,TranslatorBagInterface
, and others and I already applied these changes to Crowdin Provider.Also, this Provider is adapted to work with both Crowdin and Crowdin Enterprise.
The todo list to make it ready is:
I will make it done before the beginning of May.