Coupon message does not translate.
-
Hello everything is fine ? I have a problem with the coupon page at checkout that doesn’t translate to Portuguese. My entire site is in Portuguese, and only has one message in English. Translation already exists in Woocommerce, but it doesn’t work. I also tried to create another translation file using Loco Translate but it doesn’t work either. How can I fix this?
Screenshot of the problem: https://imgur.com/UFGP6GH
The page I need help with: [log in to see the link]
-
Hi,
Try to locate that text in Woocommerce folder or your theme’s folder.
You can use cPanel or FTP.
Hi @frajola, all good here!
You may also want to check the solution found in this similar thread:
Let us know how it goes.
Best,@horvathrobi athrobi I’m using the Hello Elementor theme, and I didn’t find the phrase “If you have a coupon code, please apply it below.” in the files and not in Loco Translate.
@csnlima Unsuccessfully. The “Say What” plugin that you have in this post, didn’t solve it.
I searched for the phrase “If you have a coupon code, please apply it below.” in all plugins and themes using Loco Translate and I only found it on Woocommerce, but the translation already exists. but it does not work.
Hello,
It looks the string is coming from Elementor when inspecting the site:
Link to image: https://snipboard.io/PHMGtN.jpgIs possible the site is managing the coupons via plugins?
If so, for us to take a closer look, please share a copy of your site’s System Status? You can find it via
WooCommerce > Status
. Select “Get system report” and then “Copy for support”.?So far there is no plugin to manage the coupon. I create the coupon through woocommerce myself.
In the Elementor no Loco translation file there is no such phrase.
System report copied from localhost, where the site is created. The hosting version is just for ease of support. But it’s the latest version.
System Report
`
### WordPress Environment ###WordPress address (URL): https://localhost
Site address (URL): https://localhost
WC Version: 6.6.1
REST API Version: ? 6.6.1
WC Blocks Version: ? 7.6.2
Action Scheduler Version: ? 3.4.0
Log Directory Writable: ?
WP Version: 6.0
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ?
Language: pt_BR
External object cache: –### Server Environment ###
Server Info: Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/8.1.1
PHP Version: 8.1.1
PHP Post Max Size: 70 MB
PHP Time Limit: 120
PHP Max Input Vars: 1000
cURL Version: 7.77.0
OpenSSL/1.1.1mSUHOSIN Installed: –
MySQL Version: 5.5.5-10.4.22-MariaDB
Max Upload Size: 70 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ? O seu servidor n?o possui a classe SoapClient ativada – alguns plugins de sistemas de pagamento que usam SOAP podem n?o funcionar como esperado.
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 6.6.1
WC Database Prefix: wp_
Tamanho total do banco de dados: 46.43MB
Tamanho dos dados do banco de dados: 43.04MB
Tamanho do índice do banco de dado: 3.39MB
wp_woocommerce_sessions: Dados: 0.05MB + índex: 0.02MB + mecanismo InnoDB
wp_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
wp_woocommerce_order_items: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_woocommerce_order_itemmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
wp_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_actionscheduler_actions: Dados: 0.08MB + índex: 0.11MB + mecanismo InnoDB
wp_actionscheduler_claims: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_actionscheduler_logs: Dados: 0.05MB + índex: 0.03MB + mecanismo InnoDB
wp_berocket_termmeta: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_braapf_product_stock_status_parent: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_braapf_product_variation_attributes: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
wp_braapf_term_taxonomy_hierarchical: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
wp_braapf_variable_attributes: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_commentmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_comments: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB
wp_duplicator_packages: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_e_events: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_e_submissions: Dados: 0.02MB + índex: 0.27MB + mecanismo InnoDB
wp_e_submissions_actions_log: Dados: 0.02MB + índex: 0.11MB + mecanismo InnoDB
wp_e_submissions_values: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_gla_budget_recommendations: Dados: 0.22MB + índex: 0.14MB + mecanismo InnoDB
wp_gla_merchant_issues: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_gla_shipping_rates: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
wp_gla_shipping_times: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_options: Dados: 2.50MB + índex: 0.08MB + mecanismo InnoDB
wp_postmeta: Dados: 19.52MB + índex: 0.86MB + mecanismo InnoDB
wp_posts: Dados: 19.44MB + índex: 0.30MB + mecanismo InnoDB
wp_say_what_strings: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_termmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_terms: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_term_relationships: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_term_taxonomy: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_tinvwl_analytics: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_tinvwl_items: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_tinvwl_lists: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_usermeta: Dados: 0.03MB + índex: 0.03MB + mecanismo InnoDB
wp_users: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
wp_wc_admin_notes: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB
wp_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_wc_customer_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_wc_order_coupon_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_wc_order_product_lookup: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
wp_wc_order_stats: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
wp_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
wp_wc_product_attributes_lookup: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_wc_product_download_directories: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_wc_product_meta_lookup: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB
wp_wc_rate_limits: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
wp_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
wp_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB### Post Type Counts ###
attachment: 43
awl-labels: 1
br_product_filter: 6
custom_css: 1
elementor_library: 11
nav_menu_item: 5
oembed_cache: 2
page: 9
post: 1
product: 8
product_variation: 26
revision: 1461
wp_global_styles: 1### Security ###
Secure connection (HTTPS): ?
Sua loja n?o está usando HTTPS. Saiba mais sobre HTTPS e certificados SSL.
Hide errors from visitors: ?### Active Plugins (15) ###
Advanced Woo Labels: por ILLID – 1.47
FiboSearch – AJAX Search for WooCommerce: por FiboSearch Team – 1.18.1
Autocomplete Address for WooCommerce: por Fernando Acosta – 1.1.0
Duplicator: por Snap Creek – 1.4.7
Elementor: por Elementor.com – 3.6.6
Google Listings and Ads: por WooCommerce – 1.13.6
Loco Translate: por Tim Whitlock – 2.6.2
Melhor Envio: por Melhor Envio – 2.11.28
Premium Addons for Elementor: por Leap13 – 4.9.20
PRO Elements: por PROElements.org – 3.6.4
TI WooCommerce Lista de Desejos: por TemplateInvaders – 1.47.0
Advanced AJAX Product Filters for WooCommerce: por BeRocket – 1.6.2
Brazilian Market on WooCommerce: por Claudio Sanches – 3.7.2
Calculadora de frete na página do produto para WooCommerce: por Valdeir Oliveira – 1.0.1
WooCommerce: por Automattic – 6.6.1### Inactive Plugins (0) ###
### Settings ###
API Enabled: –
Force SSL: ?
Currency: BRL (R$)
Currency Position: left_space
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: –
Enforce Approved Product Download Directories: ?### WC Pages ###
Base da loja: #10 – /loja/
Carrinho: ? Página n?o contém o shortcode [woocommerce_cart] ou o bloco woocommerce/cart.
Finaliza??o de compra: ? Página n?o contém o shortcode [woocommerce_checkout] ou o bloco woocommerce/checkout.
Minha conta: #13 – /minha-conta/
Termos e condi??es: ? Página n?o definida### Theme ###
Name: Hello Elementor
Version: 2.5.0
Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Child Theme: ? – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho
WooCommerce Support: ?### Templates ###
Overrides: –
### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
wc-pay-promotion
wc-pay-welcome-page
wc-pay-subscriptions-pageDisabled Features: minified-js
settingsDaily Cron: ? Next scheduled: 2022-07-02 03:42:43 -03:00
Options: ?
Notes: 52
Onboarding: completed### Modelos TI WooCommerce Lista de Desejos ###
Substitui??es: –
### Action Scheduler ###
Concluído: 118
Oldest: 2022-05-31 17:23:55 -0300
Newest: 2022-06-30 21:10:42 -0300Pendente: 2
Oldest: 2022-07-01 17:28:02 -0300
Newest: 2022-07-01 17:28:02 -0300### Status report information ###
Generated at: 2022-07-01 12:45:11 -03:00
`Hi @frajola
Thanks for sharing the System Status Report.
there is no plugin to manage the coupon
Thanks for letting us know.
In order to confirm where that text is coming from, your best bet would be to use the String Locator plugin to track down the string: https://www.ads-software.com/plugins/string-locator/
If you need more help or detailed instructions, you can also post in the plugin’s support forum: https://www.ads-software.com/support/plugin/loco-translate/
Hi @frajola
Just following up on this.
Finaliza??o de compra: ? Página n?o contém o shortcode [woocommerce_checkout] ou o bloco woocommerce/checkout.
From the system status it appears that the checkout page is overridden by Elementor. This could also be the reason behind the coupon message being skipped during translation. I noticed that your checkout page is much customized, so you might also want to check with your developer.
Getting the problem fixed. I used the “string locator” plugin indicated above and translated the message manually. Actually this message was a string not found in Elementor.
Sorted out. thanks
- The topic ‘Coupon message does not translate.’ is closed to new replies.