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

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...