Bug 161519 - i18n: convert the strings "The first" and "rows" to use a variable
Summary: i18n: convert the strings "The first" and "rows" to use a variable
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 20:16 UTC by Tuomas Hietala
Modified: 2024-06-26 03:15 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tuomas Hietala 2024-06-11 20:16:12 UTC
Description:
Using two or more mini-strings with unknown content between is bad i18n practice. KDE calls them "word puzzles": https://techbase.kde.org/Development/Tutorials/Localization/i18n_Mistakes#Pitfall_#2:_Word_Puzzles

Better practice, which allows more flexible translation, would be to use a single string which includes a variable.

Steps to Reproduce:
1. See https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=b4518772080f7067 and https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=e8bbd55e1ad068b0


Actual Results:
Word puzzle -style strings are used.

Expected Results:
A single string with a variable is used.


Reproducible: Always


User Profile Reset: No

Additional Info:
n/a