diff --git a/src/Views/SearchView.vala b/src/Views/SearchView.vala
index eedee1132..175d019a1 100644
--- a/src/Views/SearchView.vala
+++ b/src/Views/SearchView.vala
@@ -145,7 +145,14 @@ public class AppCenter.SearchView : Adw.NavigationPage {
private void search () {
if (search_entry.text.length >= VALID_QUERY_LENGTH) {
- var dyn_flathub_link = "%s".printf (search_entry.text, _("Flathub"));
+ // Get system locale and extract language code (e.g., "de_DE.UTF-8" -> "de")
+ var locale = Intl.setlocale (LocaleCategory.MESSAGES, null);
+ var lang = "en"; // Default to English
+ if (locale != null && locale.length >= 2) {
+ lang = locale.substring (0, 2).down ();
+ }
+
+ var dyn_flathub_link = "%s".printf (lang, search_entry.text, _("Flathub"));
alert_view.description = _("Try changing search terms. You can also sideload Flatpak apps e.g. from %s").printf (dyn_flathub_link);
if (mimetype) {