Regrading change of text of button in nodebb discusiion forum
-
you don't understand my problem , I want to change text written on button i.e new topic
@paopevil said in Regrading change of text of button in nodebb discusiion forum:.btn-primary {
color: color text;
background-color: color background;
border-color: color border button; -
To make changes to text itself, you'll want to take a look at the language files in
public/language/en-GB
(or whichever language code you desire). Make the change there (although keep in mind there may be conflicts in the future as you are modifying code that is version controlled).Best way to do this safely would be to create a plugin with language overrides.
{ ... "languages": "languages", ... }
-
@julian You don't understand, I want to write something else in English in place of New Topic in that button.
-
I just make changes sudo nano topic.json inside public/language/en-GB
But I don't see any chnages in button .
WHy
-
Which json file I need to edit inside public/language/en-GB ?
-
@julian I think I have made changes at right place i.e new topic button
Is anything wrong
-
Run
./nodebb build
and restart in order to apply the changes you make. You also need to be on the en-GB language for it to work. -
thanks its very useful