I downloaded the theme for woocommerce and noticed that English remained on the pages in some places. Found the .po file, updated the items that were needed with PoEdit, but nothing has changed on the site. What could be the reasons for this?
1 answer
The .po file must be saved. This will automatically compile the .mo file, which is needed on the site. The file with the full name woocommerce-ru_RU.mo should be in the folder
/wp-content/languages/woocommerce/woocommerce-ru_RU.mo Here it will not be changed when updating WooCommerce.
PS Often WooCommerce templates overlap with themes that use their text domain for translations. In these cases, some messages may remain without translation. It is necessary to look in the topic code, what is the text domain, and update its translation.
The translations are in the folder
/wp-content/languages/themes/имя-темы-ru_RU.mo - That's the salt that I found, where the .mo files and the .po topics are located, and specifically clicked on the "Compile to MO format" button, and nothing - Mf1Friend
- I gave you the answer. Compile - a little. It is necessary to write to the site. Put it in this folder, and not in another. And make sure that these lines relate to WooCommerce, and not to the topic. - KAGG Design
- I probably incorrectly formulated the question. The woocommerce translation is complete, and it suits me. But the topic is not translated. I saved everything and loaded it to the same place I took it from. Neither the file names or folders have changed. Unloaded, fixed, saved, loaded back. The result is nothing - Mf1Friend
- And where did they get it from? From which folder? - KAGG Design
/wp-content/themes/revoke2/languages- Mf1Friend
|