OpenSearch Dashboards navigation text customisation


As mentioned before in previous posts we’re rebranding our own build of OpenSearch Dashboards. I’d say we’re pretty close to being able to mark it as complete. One thing that is slightly bothering us is this navigation item, “OpenSearch Dashboards”:

We’re a bit stumped on how to change that text. We traced it back to src/plugins/opensearch_dashboards_overview/public/plugin.ts:113 but it seems as though that isn’t the modification required.
We can see from the code that the nav menu gets a series of “Categories”, but as we’re not native React/TypeScript devs we’re not too sure exactly where these categories get set.

Would anyone be so kind as to tell us how we’d modify the above navigation category text if it’s at all possible?

Hey @adaisley

Good question. I think you’d be better off using the internationalization capability (see i18n on line 112 of the same line) that way you don’t have to maintain patches this file at upgrade time. Admittedly, this isn’t well documented (it never has been even in the days before OpenSearch). From my understanding you create a dashboards plugin that defines the i18n strings you want to replace. I’d be glad to help as much as I can if you want go down this road.

Related, there is an effort to make custom branding better too: [Proposal] Initial Custom Branding (local config settings) · Issue #725 · opensearch-project/OpenSearch-Dashboards · GitHub