<?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 change defult language SPLUNKJS in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/change-defult-language-SPLUNKJS/m-p/565503#M10056</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Have anyone found a way to change default language (english) when using splunk js in your own web( outside of splunk web)?&lt;BR /&gt;By using spkunk view components, it is only in english ? I have been searching through official document but could not find any useful information.&lt;BR /&gt;Thanks !&lt;BR /&gt;It s an example of TimeRangeView in english. I want to change it to french.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thuhuongle_0-1630506444385.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15804iD88A481CE8DB2B96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thuhuongle_0-1630506444385.png" alt="thuhuongle_0-1630506444385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;            // Create a custom time range picker
            // Show the Presets panel, hide the Real-time and Advanced panels
            var mypresetsettings = {
                showCustomDateTime: false,
                showPresets: false,
                showCustomRealTime: false,
                showCustomAdvanced: false,
                showCustomRelative: false,
                showCustomDate: true
            };

            // Instantiate a view using the custom time range picker
            var mytimerange_custom = new TimeRangeView({
                id: "example-timerange_custom",
                managerid: "search3",
                earliest_time: "-7d",
                latest_time:"now",
                dialogOptions: mypresetsettings,
                el: $("#mytimerangeview_custom")
            }).render();
            console.log(mytimerange_custom.val());

            // Update the search manager when the time range changes
            mytimerange_custom.on("change", function () {
                mysearch3.settings.set(mytimerange_custom.val());
                //mysearch4.setting.set(mytimerange_custom.val());
            });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 14:29:01 GMT</pubDate>
    <dc:creator>thuhuongle</dc:creator>
    <dc:date>2021-09-01T14:29:01Z</dc:date>
    <item>
      <title>change defult language SPLUNKJS</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/change-defult-language-SPLUNKJS/m-p/565503#M10056</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Have anyone found a way to change default language (english) when using splunk js in your own web( outside of splunk web)?&lt;BR /&gt;By using spkunk view components, it is only in english ? I have been searching through official document but could not find any useful information.&lt;BR /&gt;Thanks !&lt;BR /&gt;It s an example of TimeRangeView in english. I want to change it to french.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thuhuongle_0-1630506444385.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15804iD88A481CE8DB2B96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thuhuongle_0-1630506444385.png" alt="thuhuongle_0-1630506444385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;            // Create a custom time range picker
            // Show the Presets panel, hide the Real-time and Advanced panels
            var mypresetsettings = {
                showCustomDateTime: false,
                showPresets: false,
                showCustomRealTime: false,
                showCustomAdvanced: false,
                showCustomRelative: false,
                showCustomDate: true
            };

            // Instantiate a view using the custom time range picker
            var mytimerange_custom = new TimeRangeView({
                id: "example-timerange_custom",
                managerid: "search3",
                earliest_time: "-7d",
                latest_time:"now",
                dialogOptions: mypresetsettings,
                el: $("#mytimerangeview_custom")
            }).render();
            console.log(mytimerange_custom.val());

            // Update the search manager when the time range changes
            mytimerange_custom.on("change", function () {
                mysearch3.settings.set(mytimerange_custom.val());
                //mysearch4.setting.set(mytimerange_custom.val());
            });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/change-defult-language-SPLUNKJS/m-p/565503#M10056</guid>
      <dc:creator>thuhuongle</dc:creator>
      <dc:date>2021-09-01T14:29:01Z</dc:date>
    </item>
  </channel>
</rss>

