-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Apply localization to all hard coded text #2562
Apply localization to all hard coded text #2562
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Hi @eVoloshchak. I'll be reviewing your PR. It's got a lot of changes so please be patient 😄. Also, I see that there are some merge conflicts that we'll have to take care of before merging this PR. First I'm gonna go familiarize myself with the issue, and then I'll dig into the changes. Thanks! |
Hi. I'm working on resolving merge conflicts. Thanks! |
OK, I'm gonna go ahead and start with the review. I've pasted all the files you listed into this comment, and I'll be checking them off to be sure they're all here in the diff. Components
Pages
Other
|
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.
Nice work! Thanks
Updated |
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.
Awesome thanks for these changes 👍
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
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.
Damn, wanted to review this before merging... Seems there are a few things conceptually wrong, so I am going to revert this.
Another thought I had is that maybe we should make all these methods of the withLocalize HOC props themselves, so instead of having to do props.translations.translate
we could do props.translate
directly.
🚀 Deployed to staging in version: 1.0.31-1🚀
|
🚀 Deployed to production in version: 1.0.39-5🚀
|
Details
Applied localization to the Expensify.cash app, all hard coded text is replaced with locale-aware components/ methods.
Fixed Issues
Fixes #2408
Tested On
Screenshots
Leaving out the screenshots because there are no visual changes