I installed WooCommerce in my theme, but when I click Login , Sign up , all this is in English. How to translate these little texts? I could only translate the store, the panel and some other things.
I installed WooCommerce in my theme, but when I click Login , Sign up , all this is in English. How to translate these little texts? I could only translate the store, the panel and some other things.
According to the plugin's documentation on Translating WooCommerce (Localization) , these are the steps:
set site language in wp-config.php
define('WPLANG', 'pt_BR');
The following notification should appear on the dashboard
Ifthenotificationdoesnotappear,youneedtoforcethetranslationtogoto
WooCommerce>SystemStatus>Tools>ForceTranslationUpgrade
Oncethisisdone,thepluginistranslatedintotheadminandtheme(inthepartsthatareshownbyit):
I was unable to Force update , as quoted in numerous posts on the web. My version of WooCommerce is 2.5.2, with WP 4.4.2.
The way I found it was to download the WC translation files manually, and put them in the plugins translation folder . With WP set to pt_BR, everything went as expected.
To download the translation files (.PO and .MO) in Brazilian Portuguese, just go to ahttps: //github.com/woothemes/woocommerce-language-packs/blob/master/packages/pt_BR.zip
Then extract the content in wp-content / languages / plugins and WooCommerce gets translated.