Answer the question
In order to leave comments, you need to log in
Where to correct the theme language of the site pages and posts?
Tell me, where in the theme or in the code itself to correct all the texts (
page titles in general) so that they are 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, the items are in English and they are also displayed on the
site page in English, how can I fix this?
I marked it with a marker here: autolines.com.ua/portfolio/toyota-camry
Thank you!
Answer the question
In order to leave comments, you need to log in
Hello!
Download the Loco Translate plugin
or the program https://poedit.net/
If you will translate with the program, then find the pot or po file in the theme folder... open it, translate it into Russian and save. As a result, you will get 2 po & mo files. Download them back to the folder. Attention. The file name plays a role. See texdomain. Should be something like ru_RU.po or theme_name-ru_RU.po
Files are usually located in the folder languages || lang.
PS It also happens that not all strings are prepared for translation, or the whole topic is not localized at all, then edit the code directly (although this is a bad way) or create a daughter. wrap the code in the desired PHP code for localization in the theme and templates, create a pot file yourself and translate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question