Woocommerce translation files missing after theme upgrade from 17 to 17.5
Dear Support,
I have upgraded the theme from 17 to 17.5. We are using the site in Hungarian language, and after the upgrade I have noticed that 2 string has been changed on the cart page of the Woocommerce site.
Apply Coupon and Update cart string has been changed back to English from Hungarian, and I have found no way to translate them.
1. When I want to add a new language into the them, it says that the setup is not complete.
2. When I try to locate those strings in the English translation using Loco translate, they can not be located.
3. When I edit those strings in the English PO files, nothing happens.
4. When I edit those strings in the Hungarian PO files, nothing happens.
So it seems to me that those strings have benn hard coded....
Please review version 17.5, since we are not able to update the theme.
Best regards,
Andras
Comments
http://forum.muffingroup.com/betheme/discussion/26966/woocommerce-translation-files-missing-after-theme-upgrade-from-17-to-17-5#latest
The update will not help you, you have to delete the whole theme and add a new one.
You probably have removed the child theme, you have to remove the main parent theme and install a new one. remember to replace all files, do not overwrite them.
Let me help you ) Be, as theme developer, - does not forget anything. That all in woocommerce.po.
WooCommerce just updated to 3.0 and tomorrow morning to 3.0.1/ And to translate everything in it - extremely easy. Only yesterday I' he installed 3.0 and translated ALL in rus and lt. No problems. And I do not use any wpml... Only .po and .mo.
1/ after Woo install just go to wp-content/languages/plugins - there should be your language woocommerce.po and .mo
2/ copy them to your folder in comp.
3/ Download the latest woocommerce as an archive - unpack in a folder
4/ Cope the original woocommerce.pot file from the plugin dir /i18n/languages to the dir where your po and mo are
5/ start editing your language po file and at once UPDATE ALL strings from pot file
6/ translate what you want - and copy back to wp-content/languages/plugins .po and .mo
All )
ATTENTION TO MUFFIN.
I wrote couple times, but the error here ) woocommerce template file cart-emty has the string:
( 'Return To Shop', 'woocommerce' )
and should be
( 'Return to shop', 'woocommerce' )
capitalization is matter... If not to correct - the button Back to shop (when the cart is empty) leaves untranslated...
Best regards )
Muffin - today's morning, after 3.0.1 WC update - there is 1 outdated file. Just in case...
betheme/woocommerce/content-product.php version 2.6.1 is out of date. The core version is 3.0.0
but everything is seamed to work well...
look twice ( I have wasted so much time once...) in BeTheme Options > Translate > Enable Translate THERE SHOULD BE OFF! without that the theme will not use .po
And sure check: the woocommerce-hu_Hu.po and ..mo should be at wp-content/languages/plugins dir.
I do not think - that there is no compatibility with 2.6.14
If anything - I can install 2.6.14 at my test site and check what is going on...
Good luck!
Return To Shop > Return to shop in the file. And move back to Theme... This is Muffin mistake and it will be corrected soon.
( 'Return To Shop', 'woocommerce' )
and should be
( 'Return to shop', 'woocommerce' )
capitalization is matter... If not to correct - the button Back to shop (when the cart is empty) leaves untranslated...