<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Dashboard display fields language. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427296#M45389</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;I created one app for monitoring, in that app have many dashboards. In that dashboards label and title (present in XML file ) come in English.&lt;BR /&gt;
Is in splunk have any conf file to change the language of dashboards?&lt;BR /&gt;
I tried ja_JP for Japanese language but its modified only default fields.  &lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2019 07:43:26 GMT</pubDate>
    <dc:creator>arun_kant_sharm</dc:creator>
    <dc:date>2019-08-05T07:43:26Z</dc:date>
    <item>
      <title>Dashboard display fields language.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427296#M45389</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;I created one app for monitoring, in that app have many dashboards. In that dashboards label and title (present in XML file ) come in English.&lt;BR /&gt;
Is in splunk have any conf file to change the language of dashboards?&lt;BR /&gt;
I tried ja_JP for Japanese language but its modified only default fields.  &lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 07:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427296#M45389</guid>
      <dc:creator>arun_kant_sharm</dc:creator>
      <dc:date>2019-08-05T07:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard display fields language.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427297#M45390</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/173134"&gt;@arun_kant_sharm&lt;/a&gt;a.&lt;/P&gt;

&lt;P&gt;I had a look to this pb myself some time ago.&lt;/P&gt;

&lt;P&gt;Here are the steps you can use in order to translate xml labels and titles.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Create a lookup in order to translate the labels and titles, based on the locale (ja-JP, fr-FR, en-US, ...)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;It should look like :&lt;BR /&gt;
locale,label,title1&lt;BR /&gt;
fr-FR,phrase,titre1&lt;BR /&gt;
en-US,sentence,title1&lt;/P&gt;

&lt;P&gt;Add as many columns as needed to fit the number of titles.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Add dd as many coa search to your dashboard, looking like this :&lt;/P&gt;

&lt;P&gt;&lt;SEARCH id="fromLookupLabel"&gt;&lt;BR /&gt;
    &lt;QUERY&gt;|inputlookup yourlookup.csv&lt;/QUERY&gt;&lt;BR /&gt;
  &lt;/SEARCH&gt;&lt;BR /&gt;
  &lt;SEARCH base="fromLookup"&gt;&lt;BR /&gt;
    &lt;QUERY&gt; search locale=$env:locale|s$&lt;/QUERY&gt;&lt;BR /&gt;
    &lt;PREVIEW&gt;&lt;BR /&gt;
      &lt;SET token="Title1Token"&gt;$result.title1$&lt;/SET&gt;&lt;BR /&gt;
      &lt;SET token="LabelToken"&gt;$result.label$&lt;/SET&gt;&lt;BR /&gt;
    &lt;/PREVIEW&gt;&lt;BR /&gt;
  &lt;/SEARCH&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Add some js to your dashboard&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;In the js, you can get the content of the tokens, see &lt;A href="http://dev.splunk.com/view/webframework-developapps/SP-CAAAEW3" target="_blank"&gt;http://dev.splunk.com/view/webframework-developapps/SP-CAAAEW3&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;From there, you can replace the content of the &lt;CODE&gt;&amp;lt;label&amp;gt;&lt;/CODE&gt; tag of the dashboard, and replace it with the value of LabelToken.&lt;/P&gt;

&lt;P&gt;In case you need to change the title of different panels, add an &lt;CODE&gt;id&lt;/CODE&gt; in the &lt;CODE&gt;&amp;lt;panel&amp;gt;&lt;/CODE&gt; tags, in order to get the right panel.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427297#M45390</guid>
      <dc:creator>poete</dc:creator>
      <dc:date>2020-09-30T01:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard display fields language.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427298#M45391</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;BR /&gt;
So it simply means, for handle multiple language in a Splunk Dashboard, we use the same approach that usually we use to make other multi language website. Splunk have no conf file for handle it ? &lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 02:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-display-fields-language/m-p/427298#M45391</guid>
      <dc:creator>arun_kant_sharm</dc:creator>
      <dc:date>2019-08-08T02:00:17Z</dc:date>
    </item>
  </channel>
</rss>

