Translation not showing
-
Hello! It’s been a few days since I try to research and get my translation work properly, but it looks like WooCommerce doesn’t want to do thing. First of all, I got my 60% translation .po , and made a copy called “woocommerce-lv.po (and also .mo)” in folder called wp-content-languages/plugins as it should be in new WooCommerce version, but sadly it doesn’t show up translation (i know it’s only 50% but i searched for exact strings (for example “Add to cart” is translated but it does not show up) I installed Loco translate but it does not work. I use custom theme, but i think it shouldn’t make conflicts with it. Also tried to make Force Translation Upgrade in WooCommerce system status but it looks like i don’t have that button…
Any advice? Thanks!
-
I also tried to copy .PO in old directory wp-content/plugins/woocommerce/i18n/languages but still no chenges in system. structure is correct, folder correct, then what else could make mistake? Can’t figure out..
Possibly the wrong directory. I posted a guide yesterday https://docs.woothemes.com/document/woocommerce-localization/
yes i followed your guide, but it seems that moving .po to woocommerce/i18n/languages doesn’t make any change as i said. Strange..
Before you said wp-content-languages/plugins. If this wasn’t a typo, it was wrong.
oops, it was typo, sorry. My .po are here wp-content/languages/plugins
You need a MO not PO
I have both of them in that folder
wp-content/languages/pluginsThe doc says:
wp-content/languages/woocommerce/Pretty sure you’re just in the wrong place.
ok, moved files to your suggested folder, but still nothing. Maybe system report will help for you?
### WordPress Environment ### Home URL: http://lietotidatori.lv/WPTEST Site URL: http://lietotidatori.lv/WPTEST WC Version: 2.5.2 Log Directory Writable: ✔ /home/escdator/public_html/lietotidatori.lv/WPTEST/wp-content/uploads/wc-logs/ WP Version: 4.4.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – Language: lv ### Server Environment ### Server Info: Apache PHP Version: 5.5.29 PHP Post Max Size: 32 MB PHP Time Limit: 120 PHP Max Input Vars: 5000 SUHOSIN Installed: – MySQL Version: 5.6.26 Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.5.2 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_termmeta: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ ### Active Plugins (20) ### Ultimate Addons for Visual Composer: by Brainstorm Force – 3.15.0 Kontaktu forma 7: by Takayuki Miyoshi – 4.3.1 Dynamic Featured Image: by Ankit Pokhrel – 3.5.1 Envato WordPress Toolkit: by Envato – 1.7.3 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.9.2 Loco Translate: by Tim Whitlock – 1.5.5 Loginizer: by Raj Kothari – 1.0 Master Slider Pro: by averta – 2.26.0 Porto Content Types: by SW-THEMES – 1.2.2 Porto Shortcodes: by SW-THEMES – 1.4.1 Porto Widgets: by SW-THEMES – 1.2 WordPress Post Type Archive Links: by Stephen Harris – 1.3.1 Really Simple CAPTCHA: by Takayuki Miyoshi – 1.8.0.1 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6 WooCommerce: by WooThemes – 2.5.2 WP Sitemap Page: by Tony Archambeau – 1.5.6 MailPoet Newsletters: by MailPoet – 2.7 YITH WooCommerce Ajax Product Filter: by yithemes – 2.7.6 YITH WooCommerce Ajax Search: by Yithemes – 1.3.9 YITH WooCommerce Wishlist: by Yithemes – 2.0.13 ### Settings ### Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ✔ API Version: 3.1.0 ### WC Pages ### Shop Base: #2471 - /shop-2/ Cart: #2562 - /cart-2/ Checkout: #3745 - /checkout-2/ My Account: #3746 - /my-account-2/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Porto Version: 2.7.3 Author URL: http://newsmartwave.net/ Child Theme: ✕ – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: porto/woocommerce/archive-product.php porto/woocommerce/cart/cart-totals.php porto/woocommerce/cart/cart.php porto/woocommerce/cart/cross-sells.php porto/woocommerce/cart/mini-cart.php porto/woocommerce/cart/shipping-calculator.php porto/woocommerce/checkout/form-checkout.php porto/woocommerce/checkout/form-coupon.php porto/woocommerce/checkout/form-pay.php porto/woocommerce/checkout/review-order.php porto/woocommerce/content-product.php porto/woocommerce/content-product_cat.php porto/woocommerce/content-single-product.php porto/woocommerce/content-widget-product.php porto/woocommerce/global/form-login.php porto/woocommerce/global/quantity-input.php porto/woocommerce/loop/add-to-cart.php porto/woocommerce/loop/loop-end.php porto/woocommerce/loop/loop-start.php porto/woocommerce/loop/no-products-found.php porto/woocommerce/loop/orderby.php porto/woocommerce/loop/pagination.php porto/woocommerce/loop/rating.php porto/woocommerce/loop/sale-flash.php porto/woocommerce/myaccount/form-add-payment-method.php porto/woocommerce/myaccount/form-edit-account.php porto/woocommerce/myaccount/form-edit-address.php porto/woocommerce/myaccount/form-login.php porto/woocommerce/myaccount/form-lost-password.php porto/woocommerce/myaccount/my-account.php porto/woocommerce/myaccount/my-address.php porto/woocommerce/myaccount/my-downloads.php porto/woocommerce/myaccount/my-orders.php porto/woocommerce/myaccount/view-order.php porto/woocommerce/notices/error.php porto/woocommerce/notices/notice.php porto/woocommerce/notices/success.php porto/woocommerce/single-product/add-to-cart/external.php porto/woocommerce/single-product/add-to-cart/grouped.php porto/woocommerce/single-product/add-to-cart/simple.php porto/woocommerce/single-product/add-to-cart/variable.php porto/woocommerce/single-product/meta.php porto/woocommerce/single-product/product-attributes.php porto/woocommerce/single-product/product-image.php porto/woocommerce/single-product/product-thumbnails.php porto/woocommerce/single-product/rating.php porto/woocommerce/single-product/related.php porto/woocommerce/single-product/review.php porto/woocommerce/single-product/sale-flash.php porto/woocommerce/single-product/share.php porto/woocommerce/single-product/short-description.php porto/woocommerce/single-product/tabs/tabs.php porto/woocommerce/single-product/title.php porto/woocommerce/single-product/up-sells.php porto/woocommerce/single-product-reviews.phpok after deleting those .po and .mo woocommerce translation files from anywhere else expect
wp-content/languages/woocommerce/now Loco translation manager does not recognize I have woocommerce language installed. Of course it’s not problem editing them somewhere else, but isn’t it strange that it won’t recognize these files?Can someone please give me advice to make translation work for a few beers @paypal?
Ok first I thought that translation may not work because of only 50% translation, so I made 90% translation which actually SHOULD work, but it’s not, sadly.
Anyone got idea?
Figured it out. There was conflict with po and mo files so they didn’t recognized language. 🙂
djem1996, can you explain in more details how exactly you solved that conflict issue?
I think I’m having exactly the same problem as you had.
I have followed instructions from https://docs.woothemes.com/document/woocommerce-localization/ with no success.
Question for moderators: should I open another topic for this?
The topic ‘Translation not showing’ is closed to new replies.