Change Interface Text
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Change Interface Text
The text strings presented to the user in the web interface are found in three files, TextContentAndErrorMessages.py, FrontEndConfiguration.py. in $SPLUNK_HOME/lib/python2.4/site-packages/splunk/search and $SPLUNK_HOME/share/splunk/search/dynamic/html/main_ui.html.
Warning These files are overwritten during upgrade. Save a copy of your changes in a safe location for future reference. Also be aware the structure and content of these files will change substantially in future versions.
Save the files as UTF-8 and restart the web interface ("splunk restart splunkweb") for any changes to take effect.
TextContentAndErrorMessages.py contains most of the text used in the web interface as a list of strings.
``pythonStrings["NUMBER_OF_RESULTS_PULLDOWN_TOOLTIP"] = "Wählen Sie die Ergebnisse die sie darstellen wollen."``
FrontEndConfiguration.py contains the text for tabs, user types, Admin page labels and distributed status messages. When editing this file, take care to maintain the format of the existing items.
``adminSectionRowLabels["user"] = {"name" : "Username", \``
`` "realName" : "Nom et prénoms", \``
`` "userType" : "Rôle", \``
}
``distributedStatusMessages = {``
`` "notauthenticated" : "problema di autorizzazione",``
`` "invaliduserorpsw" : "problema di accesso",``
`` "down" : "non raggiungibile",``
`` "versionMismatch" : "versione errata",``
`` "productMismatch" : "nessuna licenza",``
`` "missingServerName" : "nessun nome del server"``
`` }``
main_ui.html contains a few others such as Start Time and End Time popup menu labels.
This documentation applies to the following versions of Splunk: 2.2 , 2.2.1 , 2.2.3 , 2.2.6 View the Article History for its revisions.