cnnewin
Forum Replies Created
-
Thank you so much: @reynierc @shahzeenfarooq @jonayedhosen @doublezed2
I’m using TranslatePress to solve this problem
Thank you very much for your help.
According to your method, I installed the TranslatePress multilingual plugin, and the test result showed that the email notification language was English.
However, installing an extra plugin for this function may affect the performance of the website.
It would be great if there is code to add to achieve this function.Hello @doublezed2
Thank you very much
### WordPress Environment ###
WordPress address (URL): https://www.***.com
Site address (URL): https://www.***.com
WC Version: 9.4.2
Legacy REST API Package Version: 此站点上未安装旧版 REST API 插件。
Action Scheduler Version: ? 3.8.2
Log Directory Writable: ?
WP Version: 6.7.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ?
Language: en
External object cache: –
### Server Environment ###
Server Info: nginx/1.24.0
PHP Version: 8.2.24
PHP Post Max Size: 50 MB
PHP Time Limit: 300
PHP Max Input Vars: 1000
cURL Version: 7.74.0
OpenSSL/1.1.1o
SUHOSIN Installed: –
MySQL Version: 8.4.0
Max Upload Size: 50 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
### Database ###
WC Database Version: 9.4.2
WC Database Prefix: wp_
数据库总的大小: 44.91MB
数据库数据大小: 28.97MB
数据库索引大小: 15.94MB
wp_woocommerce_sessions: 数据:1.52MB + 索引:0.02MB + 引擎 InnoDB
wp_woocommerce_api_keys: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_woocommerce_attribute_taxonomies: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_woocommerce_downloadable_product_permissions: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB
wp_woocommerce_order_items: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_woocommerce_order_itemmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_woocommerce_tax_rates: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB
wp_woocommerce_tax_rate_locations: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_woocommerce_shipping_zones: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_woocommerce_shipping_zone_locations: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_woocommerce_shipping_zone_methods: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_woocommerce_payment_tokens: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_woocommerce_payment_tokenmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_woocommerce_log: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
sb_conversations: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
sb_messages: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
sb_reports: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
sb_settings: 数据:0.03MB + 索引:0.00MB + 引擎 InnoDB
sb_users: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
sb_users_data: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_actionscheduler_actions: 数据:5.52MB + 索引:4.89MB + 引擎 InnoDB
wp_actionscheduler_claims: 数据:1.52MB + 索引:0.31MB + 引擎 InnoDB
wp_actionscheduler_groups: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_actionscheduler_logs: 数据:4.52MB + 索引:4.03MB + 引擎 InnoDB
wp_adtribes_my_conversions: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_automatewoo_abandoned_carts: 数据:0.02MB + 索引:0.08MB + 引擎 InnoDB
wp_automatewoo_customer_meta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_automatewoo_customers: 数据:0.02MB + 索引:0.09MB + 引擎 InnoDB
wp_automatewoo_guest_meta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_automatewoo_guests: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB
wp_automatewoo_log_meta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_automatewoo_logs: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_automatewoo_queue: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_automatewoo_queue_meta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_categorymeta: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_commentmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_comments: 数据:0.02MB + 索引:0.09MB + 引擎 InnoDB
wp_e_submissions: 数据:0.02MB + 索引:0.27MB + 引擎 InnoDB
wp_e_submissions_actions_log: 数据:0.02MB + 索引:0.11MB + 引擎 InnoDB
wp_e_submissions_values: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_gla_attribute_mapping_rules: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_gla_budget_recommendations: 数据:0.19MB + 索引:0.14MB + 引擎 InnoDB
wp_gla_merchant_issues: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_gla_shipping_rates: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_gla_shipping_times: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_links: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_litespeed_img_optming: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_member_catmeta: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_options: 数据:4.50MB + 索引:0.16MB + 引擎 InnoDB
wp_portfolio_catmeta: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_postmeta: 数据:2.52MB + 索引:0.81MB + 引擎 InnoDB
wp_posts: 数据:1.52MB + 索引:0.27MB + 引擎 InnoDB
wp_product_catmeta: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_rank_math_404_logs: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_rank_math_analytics_ga: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_rank_math_analytics_gsc: 数据:1.52MB + 索引:1.11MB + 引擎 InnoDB
wp_rank_math_analytics_inspections: 数据:0.22MB + 索引:0.11MB + 引擎 InnoDB
wp_rank_math_analytics_keyword_manager: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_rank_math_analytics_objects: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_rank_math_internal_links: 数据:0.08MB + 索引:0.03MB + 引擎 InnoDB
wp_rank_math_internal_meta: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_rank_math_redirections: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_rank_math_redirections_cache: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_realmedialibrary: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_realmedialibrary_meta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_realmedialibrary_posts: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_realmedialibrary_tmp: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_social_users: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_term_relationships: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_term_taxonomy: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_termmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_terms: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_usermeta: 数据:0.19MB + 索引:0.20MB + 引擎 InnoDB
wp_users: 数据:0.05MB + 索引:0.05MB + 引擎 InnoDB
wp_vi_woo_orders_tracking_track_info: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_viwec_clicked: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wc_admin_note_actions: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wc_admin_notes: 数据:0.06MB + 索引:0.00MB + 引擎 InnoDB
wp_wc_category_lookup: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wc_customer_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_wc_download_log: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_wc_gpf_render_cache: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wc_order_addresses: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB
wp_wc_order_composite_lookup: 数据:0.02MB + 索引:0.09MB + 引擎 InnoDB
wp_wc_order_coupon_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_wc_order_operational_data: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_wc_order_product_lookup: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB
wp_wc_order_stats: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_wc_order_tax_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_wc_orders: 数据:0.02MB + 索引:0.13MB + 引擎 InnoDB
wp_wc_orders_meta: 数据:0.06MB + 索引:0.09MB + 引擎 InnoDB
wp_wc_product_attributes_lookup: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wc_product_download_directories: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wc_product_meta_lookup: 数据:0.02MB + 索引:0.11MB + 引擎 InnoDB
wp_wc_rate_limits: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wc_reserved_stock: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wc_tax_rate_classes: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wc_warranty_products: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_wc_webhooks: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB
wp_wcpdf_invoice_number: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wdr_order_discounts: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wdr_order_item_discounts: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_wdr_rules: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_woocommerce_gpf_google_taxonomy: 数据:2.52MB + 索引:0.23MB + 引擎 InnoDB
wp_wotv_woo_track_info: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wpc_accesslocks: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wpc_login_fails: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB
wp_wpr_above_the_fold: 数据:0.05MB + 索引:0.06MB + 引擎 InnoDB
wp_wpr_lazy_render_content: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB
wp_wpr_rocket_cache: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB
wp_wpr_rucss_used_css: 数据:0.16MB + 索引:0.09MB + 引擎 InnoDB
wp_yith_wcwl: 数据:0.16MB + 索引:0.08MB + 引擎 InnoDB
wp_yith_wcwl_itemmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB
wp_yith_wcwl_lists: 数据:0.20MB + 索引:0.30MB + 引擎 InnoDB
### Post Type Counts ###
a2w_shipping: 9
attachment: 459
aw_workflow: 3
blocks: 2
custom_css: 4
customize_changeset: 9
elementor_library: 2
mailpoet_page: 1
mas_static_content: 18
nav_menu_item: 45
newsletter: 1
oembed_cache: 8
page: 25
porto_builder: 6
post: 5
product: 46
product_variation: 56
rank_math_schema: 3
revision: 102
rm_content_editor: 1
shop_coupon: 1
shop_order: 13
viwec_template: 15
viwec_template_block: 2
wc_order_status: 8
wp_global_styles: 1
wp_navigation: 1
wpcf7_contact_form: 2
wpforms: 2
wppb-ul-cpt: 1
yith-wccos-ostatus: 2
### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?
### Active Plugins (2) ###
WooCommerce PayPal Payments: 来自 WooCommerce – 2.9.4
WooCommerce: 来自 Automattic – 9.4.2
### Inactive Plugins (16) ###
Admin Menu Editor: 来自 Janis Elsts – 1.12.4
AutomateWoo: 来自 WooCommerce – 6.1.2
Contact Form 7: 来自 Takayuki Miyoshi – 6.0
Discount Rules Core: 来自 Flycart – 2.6.6
Discount Rules PRO 2.0: 来自 Flycart – 2.6.5
Google for WooCommerce: 来自 WooCommerce – 2.8.7
Nextend Social Login: 来自 Nextendweb – 3.1.15
Nextend Social Login Pro Addon: 来自 Nextendweb – 3.1.15
Object Cache Pro: 来自 Rhubarb Group – 1.21.3
Rank Math SEO: 来自 Rank Math SEO – 1.0.232
Rank Math SEO PRO: 来自 Rank Math SEO – 3.0.75
reCaptcha for WooCommerce: 来自 I Thirteen Web Solution – 2.55
Social Auto Poster: 来自 WPWeb – 5.4.3
WooCommerce Orders Tracking Premium: 来自 VillaTheme – 1.1.14
WP Rocket: 来自 WP Media – 3.17.3
YITH WooCommerce Wishlist: 来自 YITH – 4.0.1
### Dropin Plugins () ###
advanced-cache.php: advanced-cache.php
### Settings ###
Legacy API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: composite (composite)
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: –
HPOS feature enabled: ?
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: ?
### Logging ###
Enabled: ?
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30天
Level threshold: –
Log directory size: 59 KB
### WC Pages ###
商店基础链接: #3853 - /product/
购物车: #3134 - /cart/ - 包含 [woocommerce_cart] 简码
结账: #3135 - /checkout/ - 包含 [woocommerce_checkout] 简码
我的帐户: #3854 - /my-account/
条款和条件: #2183 - /terms-and-conditions/
### Theme ###
Name: Flatsome Child
Version: 3.0
Author URL:
Child Theme: ?
Parent Theme Name: Flatsome
Parent Theme Version: 3.19.7
Parent Theme Author URL: https://uxthemes.com
WooCommerce Support: ?
### Templates ###
Overrides: flatsome/woocommerce/archive-product.php
flatsome/woocommerce/cart/cart-empty.php
flatsome/woocommerce/cart/cart-shipping.php
flatsome/woocommerce/cart/cart.php
flatsome/woocommerce/cart/mini-cart.php
flatsome/woocommerce/checkout/form-checkout.php
flatsome/woocommerce/checkout/form-coupon.php
flatsome/woocommerce/checkout/order-received.php
flatsome/woocommerce/checkout/terms.php
flatsome-child/woocommerce/checkout/thankyou.php
flatsome/woocommerce/content-product-cat.php
flatsome/woocommerce/content-product.php
flatsome/woocommerce/content-single-product.php
flatsome/woocommerce/content-widget-product.php
flatsome/woocommerce/global/breadcrumb.php
flatsome/woocommerce/global/quantity-input.php
flatsome/woocommerce/global/wrapper-end.php
flatsome/woocommerce/global/wrapper-start.php
flatsome/woocommerce/loop/header.php
flatsome/woocommerce/loop/loop-end.php
flatsome/woocommerce/loop/loop-start.php
flatsome/woocommerce/loop/pagination.php
flatsome/woocommerce/loop/rating.php
flatsome/woocommerce/loop/result-count.php
flatsome/woocommerce/loop/sale-flash.php
flatsome/woocommerce/myaccount/form-login.php
flatsome/woocommerce/myaccount/navigation.php
flatsome/woocommerce/notices/error.php
flatsome/woocommerce/notices/notice.php
flatsome/woocommerce/notices/success.php
flatsome/woocommerce/product-searchform.php
flatsome/woocommerce/single-product/photoswipe.php
flatsome/woocommerce/single-product/price.php
flatsome/woocommerce/single-product/product-image.php
flatsome/woocommerce/single-product/product-thumbnails.php
flatsome/woocommerce/single-product/rating.php
flatsome/woocommerce/single-product/related.php
flatsome/woocommerce/single-product/review.php
flatsome/woocommerce/single-product/sale-flash.php
flatsome/woocommerce/single-product/share.php
flatsome/woocommerce/single-product/short-description.php
flatsome/woocommerce/single-product/tabs/tabs.php
flatsome/woocommerce/single-product/title.php
flatsome/woocommerce/single-product/up-sells.php
flatsome/woocommerce/single-product-reviews.php
flatsome/woocommerce/single-product.php
### WooCommerce PayPal Payments ###
Onboarded: ?
Shop country code: CN
WooCommerce currency supported: ?
Advanced Card Processing available in country: ?
Pay Later messaging available in country: –
Webhook status: ?
PayPal Vault enabled: –
ACDC Vault enabled: –
Logging enabled: –
Reference Transactions: ?
Used PayPal Checkout plugin: –
Subscriptions Mode: Disabled
PayPal Shipping Callback: –
Apple Pay: ?
Google Pay: ?
Fastlane: –
### Admin ###
Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store
Disabled Features: product-data-views
experimental-blocks
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
blueprint
reactify-classic-payments-settings
use-wp-horizon
Daily Cron: ? Next scheduled: 2024-11-23 10:23:55 +08:00
Options: ?
Notes: 64
Onboarding: completed
### Action Scheduler ###
已取消: 19
Oldest: 2024-10-26 22:56:13 +0800
Newest: 2024-11-22 15:40:01 +0800
完成: 10,486
Oldest: 2024-10-23 12:48:10 +0800
Newest: 2024-11-22 22:22:27 +0800
已失败: 811
Oldest: 2022-10-25 18:25:11 +0800
Newest: 2024-11-22 22:22:36 +0800
即将进行的: 6
Oldest: 2024-11-22 22:24:37 +0800
Newest: 2024-11-25 15:03:37 +0800
### Status report information ###
Generated at: 2024-11-22 22:23:56 +08:00
`Thank you very much for your help,
Thank you very much @reynierc
Site A is 2 years old. My processing steps are as follows:
- WordPress dashboard, then to ‘Settings’ > ‘General’. Set English
- Admin profile language is set to Chinese
- Disable plugins, keep woocommerce plugin
- Enable the theme that comes with wordpress,
- The website environment uses automatic theme + woocommerce plugin, test woocommerce orders, change order status, and the email notification received contains Chinese characters
- The administrator profile language is set to site default, test change order status, and the email received is in English.
Conclusion: The characters in the notification sent by email will change according to the administrator profile language, not the language set by the website.
In order to verify whether it is a site problem, I rebuilt a new website B, the website environment uses automatic theme + woocommerce plugin, test orders, and after testing, the above problems have not occurred for the time being.
After deleting the plugin language file of site A and updating the language file, the above problems still exist and the problem has not been found.