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

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...