-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-03-13] [$1000] Language picker texts are not same at login page and preferences. #15285
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
|
|
Job added to Upwork: https://www.upwork.com/jobs/~01f95903e9a3bdc10d |
Current assignee @Christinadobrzyn is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @aldo-expensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Language picker is not consistent across app. In login page it do not changes values based on selected language but in Language preference it is changing based on selected language. What is the root cause of that problem?As per slack discussion - values should be as per selected language same as preference page. App/src/components/LocalePicker.js Line 29 in 660e389
What changes do you think we should make in order to solve the problem?We can do same way as in Preference page:
Here we just need 2 fields value and text, we have to rename field text to label. and need to use it inside the component. What alternative solutions did you explore? (Optional)None |
ProposalPlease re-state the problem that we are trying to solve in this issue.The What is the root cause of that problem?In the this file: App/src/components/LocalePicker.js Lines 29 to 38 in a5b9c9b
We are setting the label as Localize.translate('es', 'languagePage');
What changes do you think we should make in order to solve the problem?Instead of hardcoding the locale like this in the After solution Screen.Recording.2023-02-20.at.1.46.35.AM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Locale picker dropdown items text on Login page and options text on Language preference page are not consistent. What is the root cause of that problem?Lines 530 to 540 in 660e389
On Language preference page, localized text is used, which depend on preferred locale user selected. App/src/pages/settings/Preferences/LanguagePage.js Lines 25 to 29 in 660e389
What changes do you think we should make in order to solve the problem?Use static text (not depend on preferred locale) instead of localized text (depend on preferred locale)
This approach is already used in LocalePicker for signin page: App/src/components/LocalePicker.js Lines 29 to 38 in 660e389
![]() |
@Christinadobrzyn I agree with your thoughts here 👍 :
|
|
Upwork job price has been updated to $1000 |
Sorry I accidentally removed the [$1000] in the GH title - added it back! |
ok all solutions are good. just in a choice paralysis of which one to go with lol |
@rushatgabhane, @Christinadobrzyn, @aldo-expensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 @jatinsonijs You have been assigned to this job by @aldo-expensify! |
PR is ready for review |
Issue not reproducible during KI retests. (First week) |
I think that's the expected behavior (equivalent language, not selected language). And on preferences page, it should also look like this, which is my proposal: Let's say user doesn't know English but only Spanish. If selected language is English, user doesn't know which is Spanish from dropdown menu. User knows |
📣 @Milos213! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
This crossed my mind too and I consider it a valid alternative, but I understand from the slack conversation that we decided that the expected behaviour would be to show the options in the current picked language, not the language of the option itself (preferences page behaviour). |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.78-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-03-13. 🎊 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:
|
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:
|
Regression Test Proposal
|
Paying this out - looks like this was merged within 3 days so the bonus will be included in the payment Oh my, so sorry it looks like I haven't yet hired @jatinsonijs and @rushatgabhane for this.
Can you both please accept my job offer in Upwork and I'll pay you? Upwork job here - https://www.upwork.com/jobs/~01f95903e9a3bdc10d |
Accepted, thanks! |
Paid @rushatgabhane $1000 + 50% bonus! Closed job in upwork, working on the regression test. |
Regression test buddy check - https://expensify.slack.com/archives/C01SKUP7QR0/p1678982816023959 |
Sound like we don't need to do a buddy check on this. So I'm going to send it to QA for them to figure out a spot in Test Rail. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
If your language Preference is Spanish, you should see Spanish on the sign-in page.
Actual Result:
Showing English on the sign-in page when the language is Spanish
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.74-0


Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Recording.1558.mp4
Expensify/Expensify Issue URL:
Issue reported by: @jatinsonijs
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676731178309489
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: