This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to display the currency differently based on the language on their site. Specifically, they wanted to change the position of the currency symbol between French and English versions. They were struggling with the currency position not being adjustable via the usual WPML settings.
Solution:
We recommended using the WPML > String Translation to adjust the currency symbol position and separators. First, the client should edit the options in WooCommerce to make these strings available for translation:
-
admin_texts_woocommerce_price_decimal_sep
-
woocommerce_price_decimal_sep
-
admin_texts_woocommerce_price_thousand_sep
-
woocommerce_price_thousand_sep
-
admin_texts_woocommerce_currency_pos
For adjusting the position of the currency symbol, the client should go to WPML > String Translation and use the 'Admin Texts Translation' to search for 'Position'. After finding the correct string, they should add it to the WPML String Translation to translate its values into different languages. For example, translating from 'left_space' to 'right_space' in German should display the EUR currency symbol to the right without a space character.
If these steps do not resolve the issue, it may require custom code as it could be a limitation of WooCommerce rather than WPML.
For more detailed guidance on changing the currency symbol, please refer to https://woocommerce.com/document/change-a-currency-symbol/.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 4 replies, has 0 voices.
Last updated by 3 months, 1 week ago.
Assisted by: Andreas W..

