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
[HOLD for payment 2023-05-16] [$1000] Bank account - Passport verification pages are displayed in English instead of Spanish #17789
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
changed the title [-] Bank account - Passport verification pages are displayed in English instead of Spanish[/-][+][$1000] Bank account - Passport verification pages are displayed in English instead of Spanish[/+]on Apr 21, 2023
Please re-state the problem that we are trying to solve in this issue.
Onfido flow not displaying with the Spanish language
What is the root cause of that problem?
Seems it is a regression from this PR where we transformed the language string to the object with more properties. With that we are providing an incorrect locale for the Spanish, it should be es_ES as a supported locale but we are passing it as a language es.
What changes do you think we should make in order to solve the problem?
We can create a mapping function in BaseOnfidoWeb.js which will take a preferredLocale as a parameter and provide the locale for the same.
Or
We can create a function called getLocale/getLocaleForOnfido within LocaleContextProvider and use it to get the locale for our preferredLocale value by passing it as a parameter.
This issue was regression from #17244 issue. The PR fixing the regression has been merged and deployed to staging. We just need to wait for it to be deployed to production.
changed the title [-][$1000] Bank account - Passport verification pages are displayed in English instead of Spanish[/-][+][HOLD for payment 2023-05-16] [$1000] Bank account - Passport verification pages are displayed in English instead of Spanish[/+]on May 9, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-05-16. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty
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:
[@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
[@sobitneupane] 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:
[@sobitneupane] 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:
[@sobitneupane] Determine if we should create a regression test for this bug.
[@sobitneupane] 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.
[@isabelastisser] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
According to this comment from @sobitneupane, now that the PR fixing the regression has been deployed, the issue can be closed. The checklist above should've been completed in the original issue.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
MelvinBot commentedon Apr 21, 2023
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.MelvinBot commentedon Apr 21, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)[-] Bank account - Passport verification pages are displayed in English instead of Spanish[/-][+][$1000] Bank account - Passport verification pages are displayed in English instead of Spanish[/+]MelvinBot commentedon Apr 21, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0129add7f211aad6f5
MelvinBot commentedon Apr 21, 2023
Current assignee @isabelastisser is eligible for the External assigner, not assigning anyone new.
MelvinBot commentedon Apr 21, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (
External)MelvinBot commentedon Apr 21, 2023
Triggered auto assignment to @NikkiWines (
External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.Pujan92 commentedon Apr 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Onfido flow not displaying with the Spanish language
What is the root cause of that problem?
Seems it is a regression from this PR where we transformed the language string to the object with more properties. With that we are providing an incorrect locale for the Spanish, it should be
es_ESas a supported locale but we are passing it as a languagees.What changes do you think we should make in order to solve the problem?
We can create a mapping function in
BaseOnfidoWeb.jswhich will take apreferredLocaleas a parameter and provide the locale for the same.Or
We can create a function called
getLocale/getLocaleForOnfidowithinLocaleContextProviderand use it to get the locale for ourpreferredLocalevalue by passing it as a parameter.16 remaining items
isabelastisser commentedon May 4, 2023
Hey @sobitneupane, what's next here? Are we choosing a proposal?
sobitneupane commentedon May 5, 2023
This issue was regression from #17244 issue. The PR fixing the regression has been merged and deployed to staging. We just need to wait for it to be deployed to production.
mvtglobally commentedon May 8, 2023
Issue not reproducible during KI retests. (First week)
[-][$1000] Bank account - Passport verification pages are displayed in English instead of Spanish[/-][+][HOLD for payment 2023-05-16] [$1000] Bank account - Passport verification pages are displayed in English instead of Spanish[/+]melvin-bot commentedon May 9, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 9, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-05-16. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon May 9, 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:
isabelastisser commentedon May 16, 2023
According to this comment from @sobitneupane, now that the PR fixing the regression has been deployed, the issue can be closed. The checklist above should've been completed in the original issue.
All set!