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: NEW
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:
Keywords:
Depends on:
Blocks: l10n-Optimization
  Show dependency treegraph
 
Reported: 2024-06-11 20:16 UTC by Tuomas Hietala
Modified: 2024-12-13 05:50 UTC (History)
1 user (show)

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
Comment 1 Buovjaga 2024-08-21 05:02:34 UTC
True -> NEW