- Status
- Resolved
- Reported for
- WPML Multilingual & Multicurrency for WooCommerce 5.3.8
- Resolved in
- WPML 4.9.0
- Topic tags
- Bug
Overview of the issue
When using WooCommerce blocks for the Cart and Checkout pages, certain strings like “Proceed to checkout” are not translated on the frontend for some languages. This issue is particularly visible in languages where WooCommerce native translations are incomplete.
It occurs because WooCommerce blocks rely on JavaScript translation files (.json files), which are not fully translatable through WPML String Translation.
Workaround
Since WPML 4.9.0, you can scan JavaScript strings after activating the Detect strings in JavaScript files feature. Then, you can translate them in ”Other strings” section of the Translation Management Dashboard.