The discussion revolves around customizing core text using a theme component. JonahAragon1 is trying to replace the text js.search.or_search_google with a theme component without manually customizing it in the admin panel.
Lilly suggests using text replacement, while Don explains that the theme component overrides a specific template, which doesn’t include the text JonahAragon1 wants to change. Don provides the location of the text in the core code and suggests that the easiest way to change it is through the /admin/customize/site_texts/ page.
JonahAragon1 clarifies that they want to simplify the process for users who install the theme component, but acknowledges that manual text replacement may be necessary.
I have a theme component which replaces components/google-search with a box that searches DuckDuckGo instead, simple enough. I can’t figure out how to make the theme component change/replace this text (js.search.or_search_google) though:
Well, I was just trying to make it so the manual text replacement isn’t necessary when you install the theme component, to save a step for anyone who installs it.
If that’s not easily possible, then it’s not the end of the world I guess. Thanks!