#Random
This is a place to discuss all things outside of Splunk, its products, and its use cases.

i18n_register error

shayhibah
Path Finder

Hi,

I try to drilldown from table cell to specific html page which saved in my Splunk server.
When the page is loaded, I can see there are errors for each one of my JS files:

Uncaught ReferenceError: i18n_register is not defined

for each on of JS files, Splunk adds "i18n_register({"plural": function(n) { return n == 1 ? 0 : 1; }, "catalog": {}});" which cannot be found.

How can I handle it?

Thanks!

Tags (1)
0 Karma

David__Ireland
Engager

You can import i18n.js in your custom HTML before any other script tags with:

<script src="{{SPLUNKWEB_URL_PREFIX}}/static/js/i18n.js"></script>

i18n.js is used for language conversion.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...