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
Chat - Emoji tooltip is not translated to Spanish #37749
Version Number: 1.4.47-0 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers):natnael.expensify+3@gmail.com Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
Action Performed:
Send an emoji only
Change app language to 'Spanish'
Hover over the sent message
Expected Result:
Emoji tooltip should be translated to Spanish
Actual Result:
Emoji tooltip is not translated to Spanish
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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:
Identify the pull request that introduced this issue and revert it.
@srikarparsi FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Activity
melvin-bot commentedon Mar 5, 2024
Triggered auto assignment to @bfitzexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.github-actions commentedon Mar 5, 2024
👋 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:
melvin-bot commentedon Mar 5, 2024
Triggered auto assignment to @srikarparsi (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.lanitochka17 commentedon Mar 5, 2024
We think that this bug might be related to #vip-vsp
CC @quinthar
lanitochka17 commentedon Mar 5, 2024
@srikarparsi FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Krishna2323 commentedon Mar 5, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - Emoji tooltip is not translated to Spanish
What is the root cause of that problem?
We don't pass
preferredLocaletoEmojiUtils.getEmojiNamefunction.App/src/components/EmojiWithTooltip/index.tsx
Line 12 in 73e96f7
What changes do you think we should make in order to solve the problem?
Use
useLocalizeto getpreferredLocaleand pass it toEmojiUtils.getEmojiNamefunction.PS:
getLocalizedEmojiName&getEmojiNameboth works the same way, we just need to update'en' | 'es'toLocale.Result
Krishna2323 commentedon Mar 5, 2024
Offending PR #35838
allgandalf commentedon Mar 5, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Emoji tooltip is not translated to Spanish
What is the root cause of that problem?
We are using
getEmojiName, inEmojiWithTooltip:App/src/components/EmojiWithTooltip/index.tsx
Line 12 in 73e96f7
Here we don’t pass We don't pass
preferredLocaletogetEmojiNameWhat changes do you think we should make in order to solve the problem?
We should instead use
getLocalizedEmojiName:App/src/libs/EmojiUtils.ts
Lines 52 to 61 in 5199604
App/src/components/Reactions/MiniQuickEmojiReactions.tsx
Line 69 in 5199604
What alternative solutions did you explore? (Optional)
N/A
roryabraham commentedon Mar 5, 2024
we are looking at reverting #35838 in #37778
@mkhutornyi will retest this issue on that branch
melvin-bot commentedon Mar 5, 2024
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.
roryabraham commentedon Mar 5, 2024
should be fixed by #37778 in 1.4.47-3
kavimuru commentedon Mar 5, 2024
PR #37778 is reverted and hovering over the emoji does not show any tooltip. This was a new feature.
Recording.1761.mp4
roryabraham commentedon Mar 5, 2024
closing this out