Hi,
We are trying to replace the default Topic
term with Question
.
In the admin settings, I see we can customize any of the text on the forum, but there are too many item contains the term topic. Is there a way to batch find and replace?
Hi,
We are trying to replace the default Topic
term with Question
.
In the admin settings, I see we can customize any of the text on the forum, but there are too many item contains the term topic. Is there a way to batch find and replace?
Thatâs why itâs probably not a good idea.
You can look at discourse/config/locales/client.en.yml at main ¡ discourse/discourse ¡ GitHub to see all of them, so you could then fix them in the ux but the name of the thing you want to customize. You might do it in a plugin if youâre self hosted, or maybe contrive to do it with the API. But maybe your users wonât be confused by the word topic and you can avoid doing that.
yes, we are self-hosted. How do you suggest we write in the plugin? Should I just overwrite the locale?
Iâm not sure if you can just include the things you want to override on the pluginâs locale it if youâd need to explicitly overwrite them.
Why would you want to do this? Like Jay says it is really not recommended.
Makes sense for a Q&A based forum �
It might, but I think that there are hundreds of sites that are primarily question/answer that havenât done that. And youâre not going to have any topics anywhere that arenât questions? There are 652 occurrences of topic
in the locale, but close to half are likely in the names of the strings.
And what are you doing to do about âPrivate Topicsâ. And then how are you going to explain the path of questions being /t/-/123
?
But I quickly added a locale to a plugin and it did override core in a quick test on my development system, so technically, itâs pretty simple.
Always a good start âŚ
Hundreds of Q&A forums will love you.
2 days in the âsin binâ for asking Admin awkward questions or I could link to this topic/question.
I was hoping âquestionâ translated to a word beginning with âTâ in one world language ⌠but no âŚ
Well, if even one of them wants to love me with money Iâll create the plugin.
Too bad there isnât a question word that starts with t
.
Thatâs easy one. There is no need to explain, because mostly nobody sees or cares what is URL. I donât see URL of this topic
All others, especially the money, are much harder ones
(Actually no one cares if it is topic instead question)
Jayâs covered some good reasons not to do this. I have a similar use case, but youâd be surprised how many Topics exist. Plus, if you make an FAQ, that Topic would now be a Question. If you made a Beginners Guide, that would also be a question.
Consider also the language: âTopicâ inherently includes the type âQuestionâ.
Topic: a matter dealt with in a text, discourse, or conversation; a subject.
Question: a matter requiring resolution or discussion.
As an achievable alternative, which aligns with language and nudges users towards your Q&A style, itâs possible to replace âRepliesâ with âAnswersâ without much pain.
Sure, with that one theme. When there is some other to choose⌠then one must go to admin section.
This is not too helpful but for me that is really easy job â in finnish âRepliesâ and âAnswersâ are same word, so perhaps you all should start to use finnish
I think this is the best idea yet!
Could you create a âQuestionsâ category and install this plugin to use for those topics?
Thanks, I found this topic helpful. Installed discourse-question-answer
Can I use both Question Answer Plugin and the official disourse sovled plugin together?
I think that might be confusing to your users.
Thanks for the clarification. I thought it would be helpful that the site users can vote for answers they think itâs the best but the question owner can ultimately select the one they end up using.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.