ondrej25
asked 7 years ago

Hi,
I would like to know, how can I change the language of the counters?
They show nearby the questions count of VIEWS, ANSWERS and VOTES – and these words (under the count number) I would like to change in our Slovak language.
Thanks in advance

2 Answers
DominicStaff
answered 7 years ago

At the moment, you can use the loco translate plugin.
After activating the plugin, you can go to the Loco translate > plugins > select the DW Question Answer Pro plugin in the Bundle name section > select your language > Click Sync button: http://prntscr.com/emzhm3
Then translate the strings to your language.
After finishing, you can go to the Settings > General then select your language in the Site Language section.

ondrej25
answered 7 years ago

Thank you for your answer. But it is not possible to change in Plugin Editor – right in wordpress? 
I translated lot of your words there…
Installing lot of plugins I became a slowly web site :-/
Thanks

Dominic Staff
replied 7 years ago

You can open the archive-question-filter.php file in the templates folder of the plugin.

ondrej25
replied 7 years ago

Thank you for your comment. I translated all these words in ‘views‘ …. but it seems, it doesnt work
:-/

Dominic Staff
replied 7 years ago

Please open the content-question.php file. However, you should not edit directly in these files because they will be lost whenever you update the plugin.
To integrate the style of the DW question answer plugin into your theme, please follow our instruction below:
– Go to the /wp-content/themes/your-theme, create a new folder named “dwqa-templates”.
– Navigate to the /wp-content/plugins/dw-question-answer/templates, select the file you want to edit, then copy the file into /wp-content/themes/your-theme/dwqa-templates.

Powered by DW Question & Answer Pro