I use WPML to translate my website and I'm facing an issue to translate a specific dynamic field in a content template.
Please refer to the price field from the below examples, where I need to show the currency symbol in both languages.
English (Correct, it's showing the currency symbol ) - hidden link
Portuguese (Incorrect, it's showing the currency 3-letters code) - hidden link
The currency information is a select field, where the currency symbol is set as the Custom Field Content and the 3-letters code as the display code.
My current code in the content template is:
<p>from [types field='exp-currency' output='raw'][/types][types field='exp-price' format='FIELD_VALUE'][/types]/person</p>
How can I make both languages show the currency symbol?
You are authorized to have a copy of the website, however I can't do it with Duplicator as the website is bigger than the free plugin limit. How can I proceed?
Is there any other plugin that you recommend to give you the clone? Anyway, I believe I give you access to FTP, correct?
I can install the database duplicator package in my localhost, it works fine, see my screenshot: pt-br.JPG
It does display correct currency character "€".
So there should be other compatibility issue in your website. please check these:
1) Make sure you are using the latest version of Toolset + WPML plugins, you can download Toolset plugins here: https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again
3) If the problem is fixed, activate other plugin/theme one by one, try to locate the problem plugin.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.