Where to tweak the language of the topic pages and entries?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Tell me where in the theme or in the code itself to correct all the texts (titles

pages mostly), so they were in Russian and not in English?
Here is an example of such a page: autolines.com.ua/portfolio/nissan-leaf/

And in the console itself points in English and they are also displayed on the page

site in English how to fix this?
I've marked:

Thank you!
by | 13 views

1 Answer

0 like 0 dislike
Download the plugin Loco Translate
or program https://poedit.net/
If you translate a program, find a pot or po file in the theme folder... open it, translated into Russian and save. The output will get 2 files po & mo. Upload them to a folder. Attention. the file name plays a role. See texdomain. Should be something like en_us.po or nazvaniyami-en_us.po
The files are usually in the folder languages || lang.
PS is such that all strings are prepared for translation, or even the whole theme is not localized, then edit the code directly (though this is a bad way) or create a doch. theme and templates wrap the code in the correct PHP code for localization, create yourself a pot file and translate.

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
40,796 users