Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.0k views
in Q2A Core by
I have set question answer for moderation and user get message your question will be checked and approved shortly.

 

How to customize in this message in my own words?

1 Answer

+1 vote
by
selected by
 
Best answer

Edit file qa-include/qa-lang-question.php. Find these 3 lines and modify them accordingly:

'a_your_waiting_approval' => 'Your answer will be checked and approved shortly.',
'c_your_waiting_approval' => 'Your comment will be checked and approved shortly.',
'q_your_waiting_approval' => 'Your question will be checked and approved shortly.',
 
Alternatively, if you don't want to perform a core hack you should use your translation folder:
qa-lang/sp/qa-lang-question.php. In this case sp stands for spanish (current language).
 
Alternatively, if you don't want to change the language files you can also create the file qa-lang/custom/qa-lang-question.php. It should only contain:
 
<?php
return array(
'a_your_waiting_approval' => 'Your answer will be checked and approved shortly.',
'c_your_waiting_approval' => 'Your comment will be checked and approved shortly.',
'q_your_waiting_approval' => 'Your question will be checked and approved shortly.',
);
 
It will override your current language files

 

by
Warning: Cannot modify header information - headers already sent by (output started at xxxxxx/xxxxxxx/xxxxxxx/com/qa-lang/custom/qa-lang-question.php:1) in /xxxx/xxxxxxx/xxxxxxxxxx/xxxx/.com/qa-include/qa-page.php on line 224

Warning: Cannot modify header information - headers already sent by (output started at xxxxxx/xxxxxxx/xxxxxxx/com/qa-lang/custom/qa-lang-question.php:1) in /xxxx/xxxxxxx/xxxxxxxxxx/xxxx/.com/qa-include/qa-page.php on line 363

what is this?
by
Most likely that's you not properly following the instructions :P Verify you've properly edited the file
by
So did this work?
by
Thanks it works well
by
edited by
Great. Good to know.
...