<?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 Re: Change default web UI locale? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20102#M2912</link>
    <description>&lt;P&gt;As far as I know the way you did with editing i18n.py is the only way to go for now. I filed a bug about this a few months ago, hopefully the default locale will be configurable in a future release.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2011 05:04:24 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2011-02-01T05:04:24Z</dc:date>
    <item>
      <title>Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20099#M2909</link>
      <description>&lt;P&gt;Hi, I have seen several questions regarding change of the default en_US locale but none of the solutions work for my case.&lt;BR /&gt;
I have tried to copy the en_GB locale content and overwrite en_US files /opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/locale/en_US/ but Splunk still shows old en_US timeformat. When i explicitly visit splunk:8000/en-GB/ then all timestamps are in desired format but visiting splunk:8000/en-US/ after overwriting its content it still shows old behavior (even after restart).&lt;BR /&gt;
The solution I found that works is editing /opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/i18n.py and replacing en-US with en-GB. This way even visiting splunk:8000/en-US/ I will get en-GB timestamps.&lt;BR /&gt;
Latter approach is not good because upgrading Splunk will overwrite changes, and also changing Splunk code is not desired.&lt;BR /&gt;
Changing all client browsers to return en-GB for locale is also not an option. Is there a way to achieve desired behavior by defining default locale timeformat in configuration files or some other configuration setup?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2011 23:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20099#M2909</guid>
      <dc:creator>gljiva</dc:creator>
      <dc:date>2011-01-03T23:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20100#M2910</link>
      <description>&lt;P&gt;Have you tried accessing splunk via &lt;A href="http://splunk:8000/en-GB/" rel="nofollow"&gt;http://splunk:8000/en-GB/&lt;/A&gt; instead of en-US?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2011 00:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20100#M2910</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2011-01-04T00:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20101#M2911</link>
      <description>&lt;P&gt;Yes, and that works as mentioned. Problem is I wan't to allow users to use GB type of timestampes even if they use US locale. That's why I tried replacing en_US with en_GB without success.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20101#M2911</guid>
      <dc:creator>gljiva</dc:creator>
      <dc:date>2020-09-28T09:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20102#M2912</link>
      <description>&lt;P&gt;As far as I know the way you did with editing i18n.py is the only way to go for now. I filed a bug about this a few months ago, hopefully the default locale will be configurable in a future release.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2011 05:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20102#M2912</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-02-01T05:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20103#M2913</link>
      <description>&lt;P&gt;Here is a response from Splunk team:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;BLOCKQUOTE&gt;
    &lt;P&gt;First create a new application within your splunk instance:&lt;/P&gt;
    
    &lt;P&gt;pwd /splunkhome/etc/apps&lt;/P&gt;
  &lt;/BLOCKQUOTE&gt;
  
  &lt;P&gt;Make new app directory by:&lt;/P&gt;
  
  &lt;BLOCKQUOTE&gt;
    &lt;P&gt;mkdir time
    mkdir time/appserver
    mkdir time/appserver/modules/&lt;/P&gt;
    
    &lt;P&gt;pwd /splunkhome/etc/apps/time/appserver/modules/results&lt;/P&gt;
  &lt;/BLOCKQUOTE&gt;
  
  &lt;P&gt;Copy this file into the directory:&lt;/P&gt;
  
  &lt;BLOCKQUOTE&gt;
    &lt;P&gt;cp
    /splunkhome/share/splunk/search_mrsparkle/modules/results/EventsViewer_
    def
    ault_renderer.html .&lt;/P&gt;
  &lt;/BLOCKQUOTE&gt;
  
  &lt;P&gt;Then edit
  EventsViewer_default_renderer.html&lt;/P&gt;
  
  &lt;P&gt;Starting on line 72 there is an if
  statement. Modify line 73 so that the
  whole if statement looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    % if i18n.current_lang_url_component()=="en-US":
        ${(event.time.strftime('%d/%m/%Y
&lt;/CODE&gt;&lt;/PRE&gt;
  
  &lt;P&gt;%H:%M:%S'))}
          % else:
              ${i18n.format_datetime_microseconds(event.time)}
          % endif&lt;/P&gt;
  
  &lt;P&gt;Restart splunk via ./splunk restart&lt;/P&gt;
  
  &lt;P&gt;This way, when you upgrade the time
  format will not be changed back. The
  only drawback to this is that when
  upgrading if there are huge changes in
  the original
  EventsViewer_default_renderer.html
  file you might need to perform this
  change once again.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 01 Feb 2011 22:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20103#M2913</guid>
      <dc:creator>gljiva</dc:creator>
      <dc:date>2011-02-01T22:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20104#M2914</link>
      <description>&lt;P&gt;I have found en_GB, en_US, it_IT, ja_JP, ko_KR , zh_CH and zh_TW OOTB in Splunk's locale folder. Anyone have a Spanish or Portuguese package?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20104#M2914</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2020-09-28T12:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20105#M2915</link>
      <description>&lt;P&gt;if anyone is wondering - this still works in 5.0.4. We used the following string.&lt;/P&gt;

&lt;P&gt;${(event.time.strftime('%Y-%m-%d %H:%M:%S.%f')[:-3]).replace(' ', '&lt;BR /&gt;', 1).replace(' ', '&amp;nbsp;')}&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 18:39:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20105#M2915</guid>
      <dc:creator>w531t4</dc:creator>
      <dc:date>2014-01-03T18:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20106#M2916</link>
      <description>&lt;P&gt;This seems like a bad joke workaround for a missing essential feature. The should should default to ISO-8601 by default anyway, without having to patch it to have &lt;EM&gt;standard&lt;/EM&gt; date-time values.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 10:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20106#M2916</guid>
      <dc:creator>ssbarnea</dc:creator>
      <dc:date>2014-03-18T10:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20107#M2917</link>
      <description>&lt;P&gt;I've been trying to use this fix in version 6.1.1 and it's not working. I followed the instructions exactly and even changed the default one as well. Does anyone have any idea how to make this work in splunk 6.1.1?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:47:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20107#M2917</guid>
      <dc:creator>nlapier2</dc:creator>
      <dc:date>2014-06-06T14:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20108#M2918</link>
      <description>&lt;P&gt;RRoberts, did you find Spanish package?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20108#M2918</guid>
      <dc:creator>dlisicre</dc:creator>
      <dc:date>2016-04-11T15:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20109#M2919</link>
      <description>&lt;P&gt;I wonder if anyone has a workaround (that works after upgrades) or info from Splunk on how this is fixed or not?&lt;/P&gt;

&lt;P&gt;A workaround that partly worked for me was editing ../etc/system/local/web.conf and under [settings] add&lt;BR /&gt;
tools.proxy.base = https:// (full URL}:{portnumber}/en-GB/&lt;/P&gt;

&lt;P&gt;Side effect was that clicking the top left Splunk&amp;gt; logo lead to {full URL}:{portnumber}/en-GB//en-GB/ (double slash indeed)&lt;BR /&gt;
Editing files like this sounds a bit open source; should be some default in the web.conf you can add. &lt;BR /&gt;
I do not want to force all users into en-GB; if they want to use en-US by specifying it in the URL that's fine. The problem is my browser(s) Chrome and IE11 make splunk believe it's en-US.&lt;/P&gt;

&lt;P&gt;Still I wonder why setting your Time Zone in the UI /manager/nn/authentication/users does not affect your default locale settings. &lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 11:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20109#M2919</guid>
      <dc:creator>tweaktubbie</dc:creator>
      <dc:date>2016-12-28T11:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20110#M2920</link>
      <description>&lt;P&gt;6 years on and there is no update to having this as a standard feature or supported config option.&lt;/P&gt;

&lt;P&gt;Latest versions also break the previous work arounds above.&lt;/P&gt;

&lt;P&gt;Anyone have this working correctly in 6.6.3+?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 01:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20110#M2920</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2017-10-18T01:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20111#M2921</link>
      <description>&lt;P&gt;See &lt;A href="https://answers.splunk.com/answers/463655/change-default-language.html"&gt;https://answers.splunk.com/answers/463655/change-default-language.html&lt;/A&gt; for a workaround of hardcoding your locale in Splunk 7.x and 8.x&lt;BR /&gt;
Also consider voting for this idea/change request to get this conf option finally implemented into the product:&lt;BR /&gt;
&lt;A href="https://ideas.splunk.com/ideas/EID-I-11"&gt; Per user UI language and date/time settings &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 13:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/20111#M2921</guid>
      <dc:creator>BorisGrochalski</dc:creator>
      <dc:date>2020-04-08T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change default web UI locale?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/522464#M88229</link>
      <description>&lt;P&gt;This was how to change the timestamp, what about number formats?&lt;BR /&gt;How and where do you change the thousand separator from comma to dot, and vise versa the decimal separator from dot to comma.&lt;BR /&gt;&lt;BR /&gt;See - that would change my (and a whole lot others) world to a new dimension!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 11:44:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-default-web-UI-locale/m-p/522464#M88229</guid>
      <dc:creator>bjarnedein</dc:creator>
      <dc:date>2020-10-01T11:44:10Z</dc:date>
    </item>
  </channel>
</rss>

