Bug 513496

Summary: Search field placeholder string is untranslated in all languages
Product: [Applications] systemsettings Reporter: Ángel Navarro <jesusnavarrojr188>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cwo.kde, marceloslacerda
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "Search..." across languages

Description Ángel Navarro 2025-12-17 17:30:14 UTC
Created attachment 187747 [details]
"Search..." across languages

SUMMARY
The placeholder string in the search field is not translated, and seems to not be marked to be translated anymore at source code level.
See the attached picture for clarification.

As I peeked in the .po files in systemsettings' Invent repo, both "Search" and "Search..." msgid strings are marked as obsolete #~ in many languages, meaning that they are not used anymore and thus leaving the string untranslated in all languages. Even though for es/ (my main language) these msgids don't have the #~ mark, it's not used anyway.

STEPS TO REPRODUCE
1. Launch systemsettings in a random language e.g. 'LANG=es_MX.UTF-8 systemsettings' (I tried with ar_AR.UTF-8, tr_TR.UTF-8 and so on)
2. Look at the search field

OBSERVED RESULT
"Search..." placeholder string is untranslated no matter the language you open systemsettings on

EXPECTED RESULT
The search field placeholder should be translated "Buscar...", etc.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 Marcelo Lacerda 2025-12-18 02:34:02 UTC
Looks like this is a very old bug (see https://bugs.kde.org/show_bug.cgi?id=358792). I'm marking this as a duplicate and copying your information to the original report. Please add yourself to the CC list of that bug if you want to keep up with the updates.

*** This bug has been marked as a duplicate of bug 358792 ***
Comment 2 cwo 2025-12-18 04:24:58 UTC
Good detective work on finding the obsolete string, but this is correct - the Placeholder string used is the default of the component used here, Kirigami.SearchField, and the string is marked correctly as translatable there, see e.g. https://invent.kde.org/frameworks/kirigami/-/blob/master/poqm/es/libkirigami6_qt.po?ref_type=heads#L177

Something seems to prevent the correct translation being looked up, and it seems to be specific to the sidebar in systemsettings. See the linked bug report.

*** This bug has been marked as a duplicate of bug 512187 ***