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.
Change Definitions in 2.3. Example: Howdy Stranger!
VipulK
New
I'm looking to change a few definitions on the forums like the "Howdy Stranger". I've gone through a few old discussions for 2.0 - 2.2 and they don't seem relevant anymore for example, one of them suggested
$Definition['Howdy, Stranger!'] = 'Ahoi!';
in conf/locale.php
but this file no longer exists. I've also looked at other folders and this is the closest thing I found in applications/vanilla/locale/en.php
$Definition['EmbeddedDiscussionFormat'] = '<div class="EmbeddedContent">{Image}<strong>{Title}</strong> <p>{Excerpt}</p> <p><a href="{Url}">Read the full story here</a></p><div class="ClearFix"></div></div>'; $Definition['EmbeddedNoBodyFormat'] = '{Url}'; $Definition['CategoryID'] = 'Category'; $Definition['We\'ve received a request to change your password.'] = 'We\'ve received a request to change your password at %s. If you didn\'t make this request, please ignore this email.'; // Deprecated Translations $Definition['Start a New Discussion'] = 'New Discussion';
but I'm not sure if I should be putting the code here. Is it a core file that must not be edited? Or shall I put the code here?
Tagged:
0
Comments
https://open.vanillaforums.com/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale#latest
That file never existed... you need to create it or edit a language locale file with definitions.
This is an example of what your created locale.php file should look like
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Oh. Alright. Thanks for that