diff --git a/pd/nw/dialog_search.html b/pd/nw/dialog_search.html
index 01bc0aff5e416d3211d9d20b9b7d7d492daa8164..fe215b969ec17a93af944893ccf96d55d5a20089 100644
--- a/pd/nw/dialog_search.html
+++ b/pd/nw/dialog_search.html
@@ -524,7 +524,7 @@ function register_window_id(id, attrs) {
     add_events();
     // set file types for the file dialog
     document.getElementById("file_browser").accept = filetypes.join(",");
-    document.getElementById("results").textContent = "Building index...";
+    document.getElementById("results").textContent = l("search.building_index");
     document.getElementById("search_text").disabled = true;
     document.getElementById("file_browser").setAttribute("nwworkingdir",
         pdgui.get_gui_dir() + "/doc"); // Probably need a doc getter in pdgui
@@ -532,7 +532,7 @@ function register_window_id(id, attrs) {
 }
 
 function display_no_results() {
-    document.getElementById("results").textContent = "No results found.";
+    document.getElementById("results").textContent = l("search.no_results");
 }
 
 function display_doc(doc) {
diff --git a/pd/nw/locales/en/translation.json b/pd/nw/locales/en/translation.json
index f9bbf1c3271183bebef76d5610b317080b7f240f..2b98e8d02807275d68896ffc345d57f21effe19f 100644
--- a/pd/nw/locales/en/translation.json
+++ b/pd/nw/locales/en/translation.json
@@ -402,6 +402,8 @@
   "search": {
     "browse": "browse the documentation",
     "search": "search",
+    "building_index": "Building index...",
+    "no_results": "No results found.",
     "search_placeholder": "Search Pd Docs"
   }
 }