Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce "Menu Cart" Widget don't change with "Language" #6

Open
datgausaigon opened this issue Sep 8, 2022 · 2 comments
Open

Comments

@datgausaigon
Copy link

Hi,
I used:

  • PHP 8.0.x
  • WordPress 6.0.2
  • Elementor 3.7.4
  • Elementor Pro 3.7.5
  • WooCommerce 6.8.2
  • Polylang 3.2.6
  • Polylang Connect for Elementor 2.3.1

I add Menu Cart Widget to Page. Label and Link (End Point) of "View Cart", "Check Out" buttons only change by Default Polylang Language (in WordPress admin) not by Change Language of Polylang (In Front End).

Please check. Thanks

@pacotole
Copy link
Member

pacotole commented Nov 2, 2022

Hi,

I recently had this problem in a project and the cause was that the language was being forced with constant WPLANG.

In a legacy initial setup the site had define('WPLANG', 'es_ES'); in the wp-config.php.

After removing this, the WooCommerce widgets show strings in current language.

Also you need to review if you have any plugin like Intervention that can force locale programatically.

@datgausaigon
Copy link
Author

datgausaigon commented Nov 3, 2022

Hi,
My wp-config.php don't have define('WPLANG', '...');
The issue got with Menu Cart Widget
Please check.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants