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.
How to change the text "Announcement"?
![Geng](https://secure.gravatar.com/avatar/7167f0111d55b405e610d7888e6a4e6f/?default=https%3A%2F%2Fvanillicon.com%2F08e61684cba55ece6409bdfe7e70b22c_100.png&rating=g&size=100)
Announced threads get tagged with "Announcement". I'd like to change the word to "Sticky" since it's a more familiar term. How would I go about doing this?
0
Comments
here is a fishing rod...
http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale/p1
also - did this work for you?
http://vanillaforums.org/discussion/28414/how-to-edit-forum-thread-view-count
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
this might help as well.
http://vanillaforums.org/discussion/comment/218275/#Comment_218275
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I looked your links and looked through announce.php, cannot change title from there. Don't know how to do this.
I'm not able to test right now.
what translations have you tested by adding a definition to /conf/locale.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I have no locale.php in /conf
re-read ---http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale/p1
and then try the obvious word to translate Announcement
then if you still can't find the answer after reading the discussion.
look at this link to answer
http://vanillaforums.org/discussion/comment/207043/#Comment_207043
it's pretty much all there - techniques and tools to find definitions. plugins, scripts, suggestions etc.
in the tutorial.
you can also download a transifex from a different language and look in the site_core.php and dash_core.php
to give you examples of various definitions. and just add what you need it you are using English and just want to translate a few words, just put them in /conf/locale.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Ok the file to edit was not in /conf but /locale/en-CA/definitions.php
I did $Definition['Announcement'] = "Sticky"; and it worked.
Question- Will this also affect peoples posts? What if they typed "announcement" would it change their text to Sticky?
personally I wouldn't do this.
the problem with changing it in /locale/en-CA/definitions.php is that it will be over-written when you next upgrade.
no.
read the instructions in tutorial and the line below.
if you add it to conf/locale.php or create your own locale it won't be overwritten. and I don't suspect you need to create your own locale.
http://vanillaforums.org/discussion/comment/207043/#Comment_207043
http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale/p1
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This will revert the next time you update Vanilla. Add your custom definitions to the
/conf/locale.php
file as suggested.Definitions only overwrite text passed through the translate functions. User content is not passed through these functions.
EDIT - Crosspost
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
thx for the logical support @hgtonight. its up to the user to choose![:) :)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/smile.png)
we cross-posted.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Ok thanks I got it
no problem, now that you got it.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@Geng you probably already did this, but my users don't like 'announcement' either. I added the following to conf/locale.php. Not sure if this is everything, but it's a start.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
That's awesome AND funny.
.
?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌