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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...