Skip to content

[Translations] Update the prompt to not remove spaces at the end of sentences. #64350

Closed

Description

@trjExpensify

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.1.67-2 PR:64282
Reproducible in staging?: Adhoc Build
Reproducible in production?: Adhoc Build
If this was caught during regression testing, add the test name, ID and link from TestRail: No
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @lakchote
Slack conversation (hyperlinked to channel name): #convert

Action Performed:

  1. Sign-in on this build
  2. Click Settings > Preferences > Languages > French
  3. Go to the Concierge DM
  4. Observe the room welcome message

Expected Result:

There should be a space there in Ce chat est avec Concierge. Posez des questions et obtenez un support en temps réel 24h/24 et 7j/7.

Image

Actual Result:

It seems like we're struggling with spacing sentences in various places.

Image

Note: We think this might be down to the file splitting up phrases, which we're addressing here.

Workaround:

N/A

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

in-line above

View all open jobs on GitHub
ar

Activity

  1. added
    Daily
    Bug
    on Jun 17, 2025
  2. melvin-bot commented on Jun 17, 2025

    @melvin-bot

    Current assignee @trjExpensify is eligible for the Bug assigner, not assigning anyone new.

  3. PiyushChandra17 commented on Jun 17, 2025

    @PiyushChandra17
    Contributor

    @trjExpensify @roryabraham I think we have not addressed this part yet, just english and spanish and ofcourse not this page yet

  4. PiyushChandra17 commented on Jun 17, 2025

    @PiyushChandra17
    Contributor

    Proposal

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

    Space problem in french translation in conceirge

    What is the root cause of that problem?

    refactor related with #62808 stop spliting phrase

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

    Update the space in translation file, and refactor that translation usage using existing RenderHTML

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    N/A

    What alternative solutions did you explore? (Optional)

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  5. roryabraham commented on Jun 17, 2025

    @roryabraham
    Contributor

    Yeah, this issue is essentially a duplicate, so we don't need proposals here. Let's finish #62808 then we can probably just close this

  6. changed the title [-][Translations] [Hold #62808] Update the prompt to not remove spaces at the end of sentences.[/-] [+][Hold #62808][Translations] Update the prompt to not remove spaces at the end of sentences.[/+] on Jun 17, 2025
  7. melvin-bot commented on Jun 23, 2025

    @melvin-bot

    @trjExpensify, @roryabraham Huh... This is 4 days overdue. Who can take care of this?

  8. lakchote commented on Jun 23, 2025

    @lakchote
    Contributor

    Still holding on #64732

  9. added
    Weekly
    and removed
    Daily
    on Jun 23, 2025
  10. 64 remaining items

  11. roryabraham commented on Jan 6, 2026

    @roryabraham
    Contributor

    yes, still HOLDing for now

  12. trjExpensify commented on Jan 19, 2026

    @trjExpensify
    ContributorAuthor

    Nice. What issue number?

  13. roryabraham commented on Jan 28, 2026

    @roryabraham
    Contributor

    Working on a batch of prompt improvements in #77688

    One of the new instructions is: Do not add or remove punctuation unless local typography requires it.

    That should fix this isuse

  14. trjExpensify commented on Feb 9, 2026

    @trjExpensify
    ContributorAuthor

    The linked PR hit prod 4 days ago: #77688 (comment)

    Can we close this?

  15. roryabraham commented on Feb 19, 2026

    @roryabraham
    Contributor

    yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions