Repository navigation
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ImprovementItem broken or needs improvement.Item broken or needs improvement.
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
- Log into an account that has the preferred language set to Spanish. Navigate to Workspace > Connect bank account
- Click "Log into your bank"
- Plaid modal - Choose Wells Fargo (use Bank of America if Wells Fargo is not available)
- Plaid modal - User Id: user_good
- Plaid modal - Password: pass_good
- Plaid modal - Submit
- Plaid modal - If they request a verification code via mobile sms, enter: credential_good when required
- Choose the Saving account: Plaid Saving11122XXXXXX111
- Save & Continue
- Company Information (Enter the info below, and anything in non-specified fields):
- Legal Business Name: Alberta Bobbeth Charleson
- Company website: Enter any valid formatted website
- Tax ID number: 123456789
- Confirm company is not on list of restricted businesses
- Requestor Information (Enter the info below, and anything in non-specified fields)
- First name: Alberta
- Second name: Charleson
- Toggle confirmation you are authorized to use company bank account
- Save & Continue (Note: You will receive an error asking to "Please verify you name and date of birth". Hit "Save & Continue" again without changing any inputs.)
- Observe that the information displayed during the Onfido is still in English
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android / native
- Android / Chrome
- iOS / native
- iOS / Safari
- MacOS / Chrome / Safari
- MacOS / Desktop
Version Number:
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: NA
Email or phone of affected tester (no customers): NA
Logs: https://stackoverflow.com/c/expensify/questions/4856 NA
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
Issue reported by: @Prince-Mendiratta
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1676281424863799
Metadata
Metadata
Assignees
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ImprovementItem broken or needs improvement.Item broken or needs improvement.



Activity
MelvinBot commentedon Feb 13, 2023
Triggered auto assignment to @stephanieelliott (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.MelvinBot commentedon Feb 13, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)MariaHCD commentedon Feb 13, 2023
https://expensify.slack.com/archives/C01GTK53T8Q/p1676281424863799
This will only be eligible for a reporting bonus since it is not really a bug so it will not entail the $1000 bug bounty.
thesahindia commentedon Feb 13, 2023
I believe @varshamb was the original reporter (slack post)
Prince-Mendiratta commentedon Feb 13, 2023
Posting a proposal as per this comment. If I am allowed to contribute, well and good. If not, please feel free to apply changes internally as suggested in this proposal.
Proposal
Please re-state the problem that we are trying to solve in this issue.
The language in Onfido Flow is not localized according to the language chosen by the user.
What is the root cause of that problem?
The root cause behind this issue is that we do not use the localisation feature in Onfido SDK.
What changes do you think we should make in order to solve the problem?
Native
On iOS and Android, the Onfido flow automatically shows the localised details according to the device language. It does not support passing the language as an argument and then changing to that specific locale. However, there is a workaround. Maybe we should make a feature request? I have some rough changes in my mind that can be used to propose and implement the feature.
iOS
A workaround for supporting and specifically changing the locale based on the locale set by the user on Expensify, this comment can be used as a guide for a workaround. This will allow us to show the Spanish language even when the device language is in English. Do note that this is only a workaround.
Android
No easy workaround possible.
Web, mWeb, Desktop
The
languageprop needs to be passed toOnfidoSDKwith the respective locale.MariaHCD commentedon Feb 13, 2023
Thanks for the heads up, @thesahindia. We can issue the reporting bonus to both @varshamb and @Prince-Mendiratta. cc: @stephanieelliott
MariaHCD commentedon Feb 13, 2023
@Prince-Mendiratta For iOS and Android, it sounds like Onfido doesn't support localization? Or at least, it's not working?
Your proposal for web sounds good to me.
Prince-Mendiratta commentedon Feb 13, 2023
@MariaHCD Onfido does support localization for iOS and Android, however it does so based on the device language itself, instead of using a property. So if my device language is spanish, Onfido will show the details in spanish. It doesn't support setting the locale using a prop yet. Should we make a feature request for the same on the @onfido/react-native-sdk?
MariaHCD commentedon Feb 14, 2023
@Prince-Mendiratta I think we can just fix this on web, mWeb and desktop for now. Once localization is re-prioritized, we can have a discussion on what we'd like to do for native platforms.
21 remaining items
MelvinBot commentedon Feb 21, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".MelvinBot commentedon Feb 21, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.74-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-02-28. 🎊
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:
MelvinBot commentedon Feb 21, 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:
MariaHCD commentedon Feb 22, 2023
This wasn't a bug (it was more of an improvement) so the BZ checklist doesn't quite apply here.
MariaHCD commentedon Mar 2, 2023
@slafortune I think we're good to issue the reporting bonus for 2 contributors here.
mananjadhav commentedon Mar 3, 2023
@slafortune Might need your help here too. I did the C+ review on this PR here.
I think here as well timeline bonus would apply. I think it got missed out because I am assigned to the PR but not in the issue here.I just went through the thread and I am confused about C+ payment and raised a question here
MariaHCD commentedon Mar 6, 2023
Not overdue, discussion is ongoing in this Slack thread: https://expensify.slack.com/archives/C01GTK53T8Q/p1677878835398299?thread_ts=1676281424.863799&cid=C01GTK53T8Q
slafortune commentedon Mar 8, 2023
@mananjadhav is paid - all good!