You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[WAITING ON CHECKLIST] [$1000] Web - missing translations on additional details page in wallet enablement flow #29712
User B: enter User A as the person you're requesting from
User A: Navigate to IOU from User B
User A: select Pay with Expensify
Expected Result:
There should be translations for every field.
Zip code: código postal
Personal address: Dirección personal
Actual Result:
Personal address and zip code both show "MISSING TRANSLATION" on expensify.com emails, to call out that we are missing a translation (#27759 for more details)
"MISSING TRANSLATION" shown in the wallet upgrade flow
Root Cause
We are traslating the error message 2 times first when we are setting the error message here and second when we are displaying the error message here.
So for the second time we are getting "Missing Translation" instead of error message as the phrase key (actual error message) is not present in the translation file. This was not noticable before #27759 as we were just returning the phrase key when translation is not present. But after #27759 we are returning "Missing Translation" when translation is not present to accounts logged in with Expensify email address.
We should not translate the errorText in TextInput and send the translation key only. We should identify and fix all other FormHelpMessage and TextInputs, where we are passing the translated text instead of keys.
changed the title [-]Web - "MISSING TRANSLATION" shown in the wallet upgrade flow[/-][+]Web - missing translations on additional details page in wallet enablement flow[/+]on Oct 16, 2023
changed the title [-]Web - missing translations on additional details page in wallet enablement flow[/-][+][$500] Web - missing translations on additional details page in wallet enablement flow[/+]on Oct 16, 2023
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@situchan] The PR that introduced the bug has been identified. Link to the PR:
[@situchan] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@situchan] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@situchan] Determine if we should create a regression test for this bug.
[@situchan] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
changed the title [-][HOLD for payment 2024-02-20] [$1000] Web - missing translations on additional details page in wallet enablement flow[/-][+][WAITING ON CHECKLIST] [$1000] Web - missing translations on additional details page in wallet enablement flow[/+]on Feb 21, 2024
Activity
melvin-bot commentedon Oct 16, 2023
Triggered auto assignment to @peterdbarkerUK (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 16, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)ishpaul777 commentedon Oct 16, 2023
Proposal
Problem
"MISSING TRANSLATION" shown in the wallet upgrade flow
Root Cause
We are traslating the error message 2 times first when we are setting the error message here and second when we are displaying the error message here.
So for the second time we are getting "Missing Translation" instead of error message as the phrase key (actual error message) is not present in the translation file. This was not noticable before #27759 as we were just returning the phrase key when translation is not present. But after #27759 we are returning "Missing Translation" when translation is not present to accounts logged in with Expensify email address.
This issue is only reproducable for accounts with expensify email, was earlier reported here - https://expensify.slack.com/archives/C049HHMV9SM/p1696940644742429
cc - @mountiny
Changes Suggested
We should not translate the errorText in TextInput and send the translation key only. We should identify and fix all other FormHelpMessage and TextInputs, where we are passing the translated text instead of keys.
kevinksullivan commentedon Oct 16, 2023
looking for translation
https://expensify.slack.com/archives/C21FRDWCV/p1697498156628909
[-]Web - "MISSING TRANSLATION" shown in the wallet upgrade flow[/-][+]Web - missing translations on additional details page in wallet enablement flow[/+]kevinksullivan commentedon Oct 16, 2023
Updated the OP. the problem is that we are missing translations, and not that MISSING TRANSLATION is shown on expensify accounts.
[-]Web - missing translations on additional details page in wallet enablement flow[/-][+][$500] Web - missing translations on additional details page in wallet enablement flow[/+]melvin-bot commentedon Oct 16, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01df8c2e9cdd1c685b
melvin-bot commentedon Oct 16, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav (
External)65 remaining items
melvin-bot commentedon Feb 13, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
jliexpensify commentedon Feb 19, 2024
Bump @situchan to complete the checklist please
EDIT: Looks like the Upworks job is closed so I will make another one today
jliexpensify commentedon Feb 19, 2024
I made a new job + here is a payment summary:
Upworks job
tienifr commentedon Feb 19, 2024
@jliexpensify I've accepted the job offer, thanks 🙏
situchan commentedon Feb 19, 2024
I already have offer accepted here
This doesn't require BZ checklist as no way to reproduce on non-Expensify accounts.
jliexpensify commentedon Feb 19, 2024
@situchan I'm aware that you've accepted the offer, but that was for the old posting and it's now been closed by Upworks:
I don't have a way to pay you on that job, so I created a new, active job.
situchan commentedon Feb 19, 2024
ok no problem. Accepted new offer
jliexpensify commentedon Feb 21, 2024
Paid and job closed. Waiting on @situchan to complete checklist
[-][HOLD for payment 2024-02-20] [$1000] Web - missing translations on additional details page in wallet enablement flow[/-][+][WAITING ON CHECKLIST] [$1000] Web - missing translations on additional details page in wallet enablement flow[/+]situchan commentedon Feb 21, 2024
@jliexpensify here's my feedback on checklist - #29712 (comment)
jliexpensify commentedon Feb 21, 2024
Cool, thanks! Closing!