Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Best way to replace "Discussion" with "Topic"?

For my forum, the term "Discussion" is slightly confusing, so I would like to do a sitewide replacement of the "Discussion" term and change it into "Topic".
One solution I found in this thread is to manually make changes to a Locale file, but it is from a few years ago.
Is doing it that way still the recommended way? Or is there a better/easier way to do this?
Ideally, the /discussion/ slug in the URL would be replaced with /topic/ as well.
Tagged:
0
Comments
Translation is still the recommended way to do so.
Concerning the second part of the question, see here: https://vanillaforums.org/discussion/31488/how-to-make-short-discussion-urls-for-vanilla
But that wouldn't be enough, since there are function like
discussionUrl
that would need to be overridden:The word "discussion" appears at so much places, that I would simply accept it instead of striving to translate each and every appearance.
r_j provided excellent ideas on the slug change.
I've got some fine-tuning and better links for the translation.
have a look at this in general https://vanillaforums.org/discussion/28420/frequently-asked-questions
https://vanillaforums.org/discussion/comment/218972/#Comment_218972
and here
http://docs.vanillaforums.com/developer/locales/
probably the best place to change definitions is in conf/locale.php
definitions in conf/locale.php will be site wide.
you can download translations for each language from the add-ons to use as a base or to find info.
Changing locales that get shipped with the core installation is NOT the best way to go
general tutorials here : https://vanillaforums.org/categories/tutorials
you can also collect defintions with this https://vanillaforums.org/discussion/30993/tutorial-how-to-use-locale-developer-config-statement-to-identify-changeable-words-translations
and then take the definitions and modify them and place them in conf/locale.php
the link you referenced is old and en-Ca.php has been replaced and I would not follow that practice.
but still not a good idea to modify the core locale files.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
@R_J @River
Thank you for replying, this will definitely get me started!
https://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I had exactly the same confusion from users coming from phpBB forums expecting "topics". They simply did not see how to post in categories I made (and I guess the "Create New Discussion" button was intimidating new users or not even seen).
In the category Forums Support I created, I added a subcategory named "Vanilla Forums Help Videos" and embedded this one:
https://www.youtube.com/watch?v=GNzO7JFW2YI
They began to post soon after and I had nothing more to do. :-)
Pictures and videos are many times mor help than text.
I added more vids since. Such as the one on private messaging.
They loved it. Give us more and not just for admins.
Thank You for the Hints... I came from MyBB which is can replace any slug into pre-combine custom slug. So, I can easily modified or transform from Generic Forum/Discussion look like site into other look/purposes.. And glad Vanilla could do this from Dashboard via ROUTE features..
Thats why, Theme, Function and Slug could be explainable and learn-able easily..