Skip to content
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

[$500] Hold Request - "Hold/unhold request" text is not translated to Spanish #36836

Closed
5 of 6 tasks
kavimuru opened this issue Feb 20, 2024 · 11 comments
Closed
5 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Feb 20, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.43-0
Reproducible in staging?: y
Reproducible in production?: new feature
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
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:

Action Performed:

Pre: Cond: Text is set to spanish

  1. Access staging.new.expensify.com
  2. Sign into a valid account
  3. Create a money request with any user
  4. Click on 3 dot menu in top right > "Hold/unhold request" > Complete the reason and tap on ENTER

Expected Result:

User expects this text to be translated to Spanish

Actual Result:

Text shows in english as "held this money request with the comment: ..." OR "unheld this money request"

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6385263_1708398936764!Text_is_not_translated_to_spanish_

Bug6385263_1708398936747.Text_is_not_translated_to_Spanish.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0117d6adb152825044
  • Upwork Job ID: 1759798173522149376
  • Last Price Increase: 2024-02-20
@kavimuru kavimuru added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 20, 2024
@melvin-bot melvin-bot bot changed the title Hold Request - "Hold/unhold request" text is not translated to Spanish [$500] Hold Request - "Hold/unhold request" text is not translated to Spanish Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0117d6adb152825044

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 (External)

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 20, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @MonilBhavsar (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@dukenv0307
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Text shows in english as "held this money request with the comment: ..." OR "unheld this money request"

What is the root cause of that problem?

When generating the optimistic messages for hold/unhold here and here we're not using localization

What changes do you think we should make in order to solve the problem?

Use localization in those places (using Localize.translateLocal or similar methods), we need to define the new translation keys for those messages since they don't seem to be defined yet.

We might have to fix similarly in the back-end too if we're not returning the proper translated message there.

What alternative solutions did you explore? (Optional)

We can custom-render the held/unheld report action, similar to here, and we'll render proper translation there based on the actionName.

It's out of scope but I noticed the held/unheld message is not being displayed properly in the LHN, due to we didn't add the custom handling logic here, if we want to fix it, we need to add handling logic for the HOLD/UNHOLD actionName, and return the translated message.

Copy link

melvin-bot bot commented Feb 20, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@BartoszGrajdek
Copy link
Contributor

@MonilBhavsar already started working on a fix, so I'm not going to create a follow-up PR, let me know if I can help you with anything! 👀

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Feb 20, 2024
@robertjchen robertjchen removed DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Feb 20, 2024
@c3024
Copy link
Contributor

c3024 commented Feb 27, 2024

This was fixed in the referred PRs. Can you please close this? @bfitzexpensify @MonilBhavsar

@MonilBhavsar
Copy link
Contributor

Yes, going to close this. No payment required here

@dukenv0307
Copy link
Contributor

@MonilBhavsar hi, my proposal was used in the PR to fix the issue, I think I'm eligible for partial compensation here, some similar cases are here and here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants