#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!

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

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

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...