The discussion revolves around changing the title format for category pages in Discourse, specifically to adjust the order of text in the <title> tag (e.g., from “Latest %category% topics” to “%category% - latest topics”). Alex_P seeks to modify the title for better localization, particularly in Russian. maiki suggests using the js.filters.latest.title string in the site texts customization, but Alex_P notes this only affects part of the title and not the full structure. Stephen advises contributing to the Russian translation via Transifex instead of editing local strings. Mittineague recommends examining the relevant HTML and files, such as application.html.erb and list_controller.rb, to locate the title logic. Alex_P eventually finds the solution in the js.filters.with_category setting, allowing them to customize the title format to %{category} - %{filter} topics, which works for both English and Russian.
You should search for the text you want to change. I’m guessing the js.categories.latest is what you are looking for, but if you can’t find the string directly, you should seek further assistance.
Instead of posting examples that are “like” what you’re looking for, can you post some of the exact HTML that’s around that text? i.e. knowing attributes may help locate the template.
js.filters.latest.title is applied to the title, but it is also referred to in other parts of the UI. I recommend fixing it in locale data, as an override may require a theme component to detach that functionality.
Looks like I found it: js.filters.with_category in Customize.
e.g. I changed it from %{filter} %{category} topics to %{category} - %{filter} topics ( %{category} - %{filter} темы in Russian).
The second file is for the /categories page, not for category topics. I needed this one: