[GH-ISSUE #2116] i18n: Excessive spaces and formatting in source strings #612

Closed
opened 2026-02-26 18:47:47 +03:00 by kerem · 0 comments
Owner

Originally created by @mKoonrad on GitHub (Oct 29, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/2116

Issue Description

Source strings in app code are improperly formatted, containing excessive whitespace, unnecessary newlines, and leading/trailing spaces. This formatting is directly reflected in web.po files also. This makes the translation process difficult, clutters the PO files, and can lead to inconsistent formatting in the final translated UI.

Steps to Reproduce

  1. Inspect the source code for text strings that are marked for translation.

List of problematic strings:
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L17)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8274-L8276)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8290-L8292)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8351-L8353)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8363-L8365)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8371-L8373)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8467-L8469)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8475-L8477)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8495-L8497)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8536-L8538)
github.com/documenso/documenso@9350c53c7d/packages/lib/translations/en/web.po (L8560-L8562)

Expected Behavior

Source strings intended for translation (msgid entries) should be clean. They should not contain unnecessary formatting whitespace.

Current Behavior

Strings with excessive whitespace and random newlines.

Screenshots (optional)

Example view of problematic string in Documenso Crowdin

Image

Operating System [e.g., Windows 10]

Windows 11

Browser [e.g., Chrome, Firefox]

Chrome

Version [e.g., 2.0.1]

v1.13.1

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
Originally created by @mKoonrad on GitHub (Oct 29, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/2116 ### Issue Description Source strings in app code are improperly formatted, containing excessive whitespace, unnecessary newlines, and leading/trailing spaces. This formatting is directly reflected in web.po files also. This makes the translation process difficult, clutters the PO files, and can lead to inconsistent formatting in the final translated UI. ### Steps to Reproduce 1. Inspect the source code for text strings that are marked for translation. List of problematic strings: https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L17 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8274-L8276 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8290-L8292 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8351-L8353 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8363-L8365 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8371-L8373 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8467-L8469 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8475-L8477 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8495-L8497 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8536-L8538 https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/lib/translations/en/web.po#L8560-L8562 ### Expected Behavior Source strings intended for translation (msgid entries) should be clean. They should not contain unnecessary formatting whitespace. ### Current Behavior Strings with excessive whitespace and random newlines. ### Screenshots (optional) Example view of problematic string in Documenso Crowdin <img width="968" height="467" alt="Image" src="https://github.com/user-attachments/assets/2ed66b87-98dc-4ab1-b564-f4fe1f540d35" /> ### Operating System [e.g., Windows 10] Windows 11 ### Browser [e.g., Chrome, Firefox] Chrome ### Version [e.g., 2.0.1] v1.13.1 ### Please check the boxes that apply to this issue report. - [x] I have searched the existing issues to make sure this is not a duplicate. - [x] I have provided steps to reproduce the issue. - [x] I have included relevant environment information. - [ ] I have included any relevant screenshots. - [x] I understand that this is a voluntary contribution and that there is no guarantee of resolution. - [x] I want to work on creating a PR for this issue if approved
kerem 2026-02-26 18:47:47 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#612
No description provided.