locale language menu
[mkws-moved-to-github.git] / experiments / spclient / README
index ae55df1..6b54f92 100644 (file)
@@ -55,6 +55,7 @@ do so many things, but that's not quite trivial.)
 Then the following special <div>s can be added (with no content), and
 will be filled in by MKWS:
     <div id="mkwsSwitch"></div> -- switch between record and target views
+    <div id="mkwsLang"></div>   -- switch between English, Danish and German
     <div id="mkwsSearch"></div> -- search box and button
     <div id="mkwsRecords"></div> -- result list, including pager/sorting
     <div id="mkwsTargets"></div> -- target list, including status
@@ -75,6 +76,7 @@ Here is an example of all possible options
                 sort_default: "relevance",  /* "relevance", "title:1", "date:0", "date:1" */
                query_width: 50,            /* 5..50 */
                 perpage_default: 20,       /* 10, 20, 30, 50 */
+                lang: "en",                 /* "en", "de", "da" */
 
                pazpar2_url: "/pazpar2/search.pz2",        /* URL */
                service_proxy_url: "/service-proxy/",      /* URL */