mrguen
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Plugin Selector] Activate plugins by default?Yes, I deactivated the plugin since It would break my site in very strange ways, possibly because I forgot to activate a new plugin etc… if it was better integrated it might be nice. Anyway, thanks for the work done.
Forum: Plugins
In reply to: [Simple Plugin Selector] Activate plugins by default?@lorro I use Hyyan WooCommerce Polylang Integration https://fr.ww.wp.xz.cn/plugins/woo-poly-integration/.
Forum: Plugins
In reply to: [WooCommerce] Cart page content showing only in preview modeWell any time someone reports a problem the answer is “it is because of a plugin”. Well, I have no idea why it stopped working. I much more think that the solution is broken after an update since I clearly see that recreating pages changes the behaviour but then other pages are in error. Woocommerce recreates pages on its own and I end up with multiple pages with the same name but some internal references are all mixed up. So basically the problem here is that there isn’t a practical debugging method. PHP debugg shows nothing, browser debugging the same and the deactivating all plugins and reactivating all has been reported ofentime not to change anything (I have already done it on other problems). The solution to most of my previous problem was always “euh, change this bit of code here by replacing the filter etc…” Anyway, thanks for answering. WordPress gives a lot for free.
Forum: Plugins
In reply to: [WooCommerce] Cart page content showing only in preview modeHello, Thanks for your support.
I am totally lost. Every time I fix a problem, another one appears, that is another page is broken. Apparently my all woocommerce solution +translation and other plugins is incoherent. The main idea is that there are duplicated pages that when I remove them makes the main page not working. And when I build fresh new pages, other older pages stop working (rebuilding a single “cart” and a single “panier” from scratch and now checkout does not work etc…)
All this happenened suddenly so is supppose this is because of a woocommerce update and I really don’t know what to do. I try to “make it work” by trials and errors while touching the least possible otherwise it all tumbles down. I have seen something that was reported before: the cart page when named “cart” redirects to “my account”. When I name it cart-2 it works. So obviously there is something remaining of “cart” that creates a problem… I would have to rebuild all from scratch but this is not something planed at the moment. I am quite surprised about the debugging methods offered like “try to deactivate all plugins” etc… definitely disapointed since I found WordPress a fantastic and robust solution until now.
Forum: Plugins
In reply to: [WooCommerce] Cart page content showing only in preview modeThanks Mirko,
I tried different things and failed. Then I received a message that woocoommerce database had to be updated… so I have the sentiment there are quite a lot of modifications at the moment. Then I recreated the cart page: now the cart page in English language is working! But the French version not.
I was surprised to look at the network flux in my browser. The cart page (english language) is apparently sent entirely coded. Something like “data:application/x-font-woff;charset=utf-8;base64, CIPHERED CONTENT….”
When looking a the French page is flux: it is not ciphered. All the elements show one by one… I tried to reload and change browser to have a fresh cache…
But the French page displays when adding some parameters like https://pandauino.com/fr/panier/? instead of https://pandauino.com/fr/panier
This behavior was solved by creating a new cart page (/en/cart) but it does not solve the problem when recreating the French language page (/fr/panier).
Maybe this is due to some modifications in woocommerce not supported yet by Polylang/loco translate?
Forum: Plugins
In reply to: [WooCommerce] Cart page content showing only in preview modeHello,
I deactivated Loco Translate and still have issues.
Now, I found that some woocommerce pages display the shortcode content only when the url is appended with some parameter. For example
https://pandauino.com/en/buy/? systematically works
https://pandauino.com/en/buy/ systematically failsYou can try to access these pages by yourself after login with credentials: “customer test” / “password”
I tried to use another browser and clear the cache since it looks like a cache issue to no available. Deactivated security plugins because they work on some suspicious urls, and deactivated loco translate. Nothing works. So I am still considering it might be a woocommerce problem
The pages that show this problem are
1 page in English with a product table [Product_Table id=’2422′ name=’All products’]
1 page in French with a product table [Product_Table id=’2432′ name=’Tous produits’]
The French checkout page with [woocommerce_checkout]I had installed woocommerce and the other plugins and everything was working, I got orders … now it seems that the all solution is gradually deteriorating…
If you can help me that would be nice. I am not much in favor of the “deactivate everything and checks if the works” solution…
Here is the system status
### WordPress Environment ###WordPress address (URL): https://pandauino.com
Site address (URL): https://pandauino.com
WC Version: 5.2.2
REST API Version: ✔ 5.2.2
WC Blocks Version: ✔ 4.7.2
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 2.1.5
Log Directory Writable: ✔
WP Version: 5.7.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.16
PHP Post Max Size: 256 MB
PHP Time Limit: 300
PHP Max Input Vars: 10000
cURL Version: 7.71.0
OpenSSL/1.1.1dSUHOSIN Installed: –
MySQL Version: 5.7.34-log
Max Upload Size: 256 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 4.9.2
WC Database Prefix: wpla_
Total Database Size: 48.30MB
Database Data Size: 46.02MB
Database Index Size: 2.28MB
wpla_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.02MB + Engine MyISAM
wpla_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_actionscheduler_actions: Data: 0.53MB + Index: 0.13MB + Engine MyISAM
wpla_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_actionscheduler_logs: Data: 0.23MB + Index: 0.17MB + Engine MyISAM
wpla_ak_404_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_atum_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_atum_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_atum_product_data: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_erp_acct_bill_details: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_bans: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_itsec_distributed_storage: Data: 10.38MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_lockouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_logs: Data: 20.27MB + Index: 0.08MB + Engine MyISAM
wpla_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_itsec_temp: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_loginizer_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_mailpoet_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_options: Data: 4.28MB + Index: 0.15MB + Engine MyISAM
wpla_phone_orders_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_postmeta: Data: 1.09MB + Index: 0.20MB + Engine MyISAM
wpla_posts: Data: 0.59MB + Index: 0.06MB + Engine MyISAM
wpla_rank_math_404_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_rank_math_analytics_objects: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wpla_rank_math_internal_links: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
wpla_rank_math_internal_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_rank_math_redirections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_rank_math_redirections_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_redirection_404: Data: 0.10MB + Index: 0.04MB + Engine MyISAM
wpla_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_redirection_items: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
wpla_redirection_logs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wpla_remoji_history: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
wpla_sib_model_forms: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wpla_sib_model_users: Data: 0.43MB + Index: 0.03MB + Engine MyISAM
wpla_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
wpla_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM
wpla_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wpla_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_usermeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
wpla_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
wpla_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wpla_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wc_product_meta_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wpla_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wdr_order_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wdr_order_item_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wdr_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfconfig: Data: 0.40MB + Index: 0.01MB + Engine MyISAM
wpla_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wffilemods: Data: 4.58MB + Index: 0.65MB + Engine MyISAM
wpla_wfhits: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wpla_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wpla_wfknownfilelist: Data: 2.44MB + Index: 0.28MB + Engine MyISAM
wpla_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wflogins: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
wpla_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpla_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpla_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wfstatus: Data: 0.08MB + Index: 0.03MB + Engine MyISAM
wpla_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wt_iew_action_history: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wpla_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_yoast_indexable: Data: 0.18MB + Index: 0.06MB + Engine MyISAM
wpla_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpla_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpla_yoast_seo_links: Data: 0.03MB + Index: 0.01MB + Engine MyISAM### Post Type Counts ###
anr-post: 1
attachment: 250
backup-database: 1
custom_css: 1
customize_changeset: 6
mewz_attribute_stock: 1
nav_menu_item: 24
o-discount: 1
oembed_cache: 2
page: 65
polylang_mo: 2
post: 67
product: 9
product_variation: 40
revision: 2
shop_coupon: 2
shop_order: 7
tablepress_table: 7
tribe_organizer: 1
um_directory: 1
um_form: 3
user_registration: 1
wc_product_table: 2
wpcf7_contact_form: 2
wpt_product_table: 5### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔### Active Plugins (63) ###
Polylang: by WP SYNTEX – 3.0.4
Blog Designer Pack: by InfornWeb – 2.2.7
404page – your smart custom 404 error page: by Peter Raschendorfer – 11.3.0
Admin Menu Editor: by Janis Elsts – 1.9.9
Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 6.1.5
Async JavaScript: by Frank Goossens (futtta) – 2.20.12.09
ATUM Inventory Management for WooCommerce: by Stock Management Labs™ – 1.8.9.1
iThemes Security: by iThemes – 7.9.1
Classic Editor: by WordPress Contributors – 1.6
Contact Form 7: by Takayuki Miyoshi – 5.4.1
Custom Sidebars: by WebFactory Ltd – 3.31
Custom User Profile Photo: by VincentListrani – 0.5.3
Duplicate Page: by mndpsingh287 – 4.4
Email Templates: by Damian Logghe – 1.3.2.1
Email Verification for WooCommerce: by WPFactory – 2.0.8
EmbedPress: by WPDeveloper – 2.7.7
Enable Media Replace: by ShortPixel – 3.5.0
WP ERP – PDF Invoice: by weDevs – 1.1.3
F4 Shipping Phone and E-Mail for WooCommerce: by FAKTOR VIER – 1.0.11
Flexible Shipping: by WP Desk – 4.4.1
Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.19.69
Jetpack by WordPress.com: by Automattic – 9.7
Jquery Validation For Contact Form 7 (Lite): by Dnesscarkey – 5.1
List category posts: by Fernando Briano – 0.84.2
Loco Translate: by Tim Whitlock – 2.5.2
Loginizer: by Softaculous – 1.6.6
LoginPress – Customizing the WordPress Login: by WPBrigade – 1.5.2
Mailchimp for WooCommerce: by Mailchimp – 2.5.1
Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: by Sendinblue – 3.1.12
Maintenance: by WebFactory Ltd – 4.02
Members: by MemberPress – 3.1.5
Phone Orders for WooCommerce: by AlgolPlus – 3.6.2
Plugins Condition: by Katsushi Kawamori – 1.07
Plugins Garbage Collector (Database Cleanup): by Vladimir Garagulya – 0.12
Private content: by Aldo Latino – 6.4.1
Public Post Preview: by Dominik Schilling – 2.9.3
Redirection: by John Godley – 5.1.1
Rank Math SEO: by Rank Math – 1.0.63
Shortcodes Ultimate: by Vladimir Anokhin – 5.9.8
Side Cart WooCommerce: by XootiX – 2.1
Simple Wp Sitemap: by Webbjocke – 1.2.1
Page Builder by SiteOrigin: by SiteOrigin – 2.12.0
SiteOrigin Widgets Bundle: by SiteOrigin – 1.18.2
TablePress Extension: Turn off Output Caching: by Tobias Bäthge – 1.0
TablePress: by Tobias Bäthge – 1.13
User Menus: by Code Atlantic – 1.2.5
User Switching: by John Blackbourn & contributors – 1.5.6
Quantity Plus Minus Button for WooCommerce: by CodeAstrology – 1.0.5
Woo Discount Rules: by Flycart – 2.3.7
WooCommerce for Logged-in Users: by Rahmon – 1.2.2
Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 1.5.0
WOO Product Table: by CodeAstrology – 2.8.6
Stripe For WooCommerce: by Payment Plugins
[email protected] – 3.3.1WooCommerce Shipping & Tax: by WooCommerce – 1.25.12
WooCommerce: by Automattic – 5.2.2
Wordfence Security: by Wordfence – 7.5.3
WP Database Backup: by Prashant Walke – 5.7.1
WP-Optimize – Clean, Compress, Cache: by David Anderson
Ruhani Rabin
Team Updraft – 3.1.9WP Rollback: by Impress.org – 1.7.1
WP Super Cache: by Automattic – 1.7.3
ReCaptcha v2 for Contact Form 7: by IQComputing – 1.3.3
WPS Hide Login: by WPServeur
NicolasKulka
wpformation – 1.8.5Embed Plus for YouTube – Gallery, Channel, Playlist, Live Stream: by Embed Plus for YouTube Team – 13.4.2
### Inactive Plugins (13) ###
Akismet Anti-Spam: by Automattic – 4.1.9
Better WordPress Minify: by Khang Minh – 1.3.3
Full Page Blog Designer: by Codeies – 1.0.2
Hello Dolly: by Matt Mullenweg – 1.7.2
PayPal PLUS for WooCommerce: by Inpsyde GmbH – 2.2.1
Preloader: by Alobaidi – 1.0.9
reBusted!: by Simon Prosser – 1.1
Remoji – Post/Comment Reaction and Enhancement: by PHP Fan – 1.9
The Events Calendar: by The Events Calendar – 5.6.0
WooCommerce PayPal Gateway: by easypayment – 4.0.4
Wordfence Login Security: by Wordfence – 1.0.6
WordPress Users & WooCommerce Customers Import Export(BASIC): by WebToffee – 2.1.2
Yoast SEO: by Team Yoast – 16.2### Dropin Plugins (1) ###
advanced-cache.php: advanced-cache.php
### Must Use Plugins (1) ###
Simple Plugin Selector: by lorro – 1.1.0
### Settings ###
API Enabled: –
Force SSL: –
Currency: EUR (€)
Currency Position: left
Thousand Separator: .
Decimal Separator: ,
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #3901 – /en/shop/
Cart: #2223 – /en/cart/
Checkout: #2224 – /en/checkout/
My account: #2225 – /en/my-account/
Terms and conditions: ❌ Page not set### Theme ###
Name: pytheas-pandauino
Version: 1.4
Author URL: http://www.wpexplorer.com
Child Theme: ✔
Parent Theme Name: Pytheas
Parent Theme Version: 2.0
Parent Theme Author URL: http://www.wpexplorer.com
WooCommerce Support: ❌ Not declared### Templates ###
Overrides: pytheas-pandauino/woocommerce/emails/email-header.php
### Action Scheduler ###
Complete: 1,448
Oldest: 2021-04-10 12:40:34 +0000
Newest: 2021-05-11 12:27:36 +0000Pending: 5
Oldest: 2021-05-11 12:42:36 +0000
Newest: 2021-05-18 07:20:24 +0000### WooCommerce Polylang Integration ###
Language Locale: en_US
Polylang Language Locale: en
Polylang Available Languages: en Warning – missing WooCommerce translation file NOT found at /home/pandauin/public_html/wp-content/languages/plugins/woocommerce-en.mo fr Warning – missing WooCommerce translation file NOT found at /home/pandauin/public_html/wp-content/languages/plugins/woocommerce-fr.mo### Status report information ###
Generated at: 2021-05-11 12:28:08 +00:00
`Problem solved.
I chose not to define the country in Polylang. So my languages are en (not en-US) and fr (not fr-FR).
So the translation files should be
woo-stripe-payment-fr.mo
woo-stripe-payment-fr.poI am sorry I can’t make it work and nothing shows in the debug.log concerning this. I have translated a couple of sentences regarding errors that I can generate for example “The card number is invalid. Check the card details or use a different card”. The translation is indeed saved in the file woo-stripe-payment-fr_FR.po . But the message still shows in english. I am wondering if the reason might be that in Polylang I use generic language without locale. So the French page has “<html lang=”fr” and <a lang=”fr” hreflang=”fr” attributes…
@mrclayton Indeed I installed Loco translate and now editing the strings.
But There are lots of Strings and it is quite technical. I have seen this for inspiration https://www.micronator.org/affaires/produit/traduction-francaise-pour-woocommerce-stripe-gateway/ but the Strings don’t match completely with Stripe payment.
It is quite difficult to translate out of the context. For example “Charge” can be translated into “Montant”, “Débiter”, “Encaisser” etc depending on the context. Also it touches to legal matters.
I would be surprised that there wasn’t any already available PO et MO for French language… Do you know such a resource?
@mrclayton I have build a two language site on Polylang… Do you think I can use both Loco translate and Polylang at the same time?
Hi @mrclayton
I asked Hyann Woocommerce Polylang Integration there opinion on this. Their reply is:
“This plugin by definition only supports the woocommerce plugin itself – it’s as much or possibly more than occasional community volunteers can support.
Other plugins including woocommerce extensions would need their own polylang layer.
You can add this for Stripe quite easily using the Polylang api ie:”//register string for translation pll_register_string($name, $string, $group, $multiline); //return the text or translation pll__($variable) //echo the text or translation pll_e($variable)So my understanding at this stage is that either
1) I modify your plugin to add pll_e($variable) everywhere. Not my cup of tea
2) I use a filter. Even though it might not work in future release of your plugin, I think it is the simplest and should only take some code in functions.php, but I don’t know much about it yet.Have you got a better idea?
Forum: Plugins
In reply to: [Hyyan WooCommerce Polylang Integration] Stripe for Woocommerce supportThanks for the explanation.
ok. In my configuration I use Polylang. it has a feature “Strings translation”. I suppose that you are writting about it. Strings appear in this list depending on the plugins added. The support for Woocommerce translation by Polylang is done by Hyaan Woocommerce Polylang Integration plugin. All is working. But not the Stripe plugin strings. I don’t know where it the issue.
But I could go around this problem if I override the wc_stripe_get_error_messages() by testing the locale and returning the proper array of Strings, either in english or french. I suppose I could do it in functions.php, but I am not quite sure…
@mrclayton Thanks for the info.
1) I was not right saying the Stripe form is using the right language. Apparently it uses the browser language. Wich is different from the locale setting. For exemple even though I chose english setting for wordpress, and so the all page is in english, I see the labels in French.
2) How can I override wc_stripe_get_error_messages() to include both french and english support? I tried this in functions.php without success
add_action('woocommerce_checkout_process', 'wc_stripe_get_error_messages_translated'); remove_action( 'woocommerce_checkout_process', 'wc_stripe_get_error_messages' );- This reply was modified 5 years, 4 months ago by mrguen.
@mrclayton For example
“The card number is invalid. Check the card details or use a different card.”This seems to be a message from woocommerce/the plugin validation.
I also read about translating the messages coming from Stripe
https://stackoverflow.com/questions/23437439/non-english-texts-in-stripe-possible